home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX 2e document text
| default
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| LaTeX document, ASCII text
| default
| |
100%
| TrID
| LaTeX 2e document
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/280 LaTeX (Master document)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/x-tex
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 64 6f 63 75 6d 65 6e | 74 63 6c 61 73 73 7b 72 |\documen|tclass{r|
|00000010| 65 70 6f 72 74 7d 0a 5c | 75 73 65 70 61 63 6b 61 |eport}.\|usepacka|
|00000020| 67 65 7b 6c 61 74 65 78 | 73 79 6d 7d 0a 0a 5c 6e |ge{latex|sym}..\n|
|00000030| 65 77 69 66 5c 69 66 73 | 68 6f 77 63 6f 64 65 0a |ewif\ifs|howcode.|
|00000040| 5c 73 68 6f 77 63 6f 64 | 65 74 72 75 65 0a 0a 5c |\showcod|etrue..\|
|00000050| 73 65 74 6c 65 6e 67 74 | 68 7b 5c 6f 64 64 73 69 |setlengt|h{\oddsi|
|00000060| 64 65 6d 61 72 67 69 6e | 7d 7b 30 69 6e 7d 0a 5c |demargin|}{0in}.\|
|00000070| 73 65 74 6c 65 6e 67 74 | 68 7b 5c 65 76 65 6e 73 |setlengt|h{\evens|
|00000080| 69 64 65 6d 61 72 67 69 | 6e 7d 7b 30 69 6e 7d 0a |idemargi|n}{0in}.|
|00000090| 5c 73 65 74 6c 65 6e 67 | 74 68 7b 5c 74 6f 70 6d |\setleng|th{\topm|
|000000a0| 61 72 67 69 6e 7d 7b 30 | 69 6e 7d 0a 5c 61 64 64 |argin}{0|in}.\add|
|000000b0| 74 6f 6c 65 6e 67 74 68 | 7b 5c 74 6f 70 6d 61 72 |tolength|{\topmar|
|000000c0| 67 69 6e 7d 7b 2d 5c 68 | 65 61 64 68 65 69 67 68 |gin}{-\h|eadheigh|
|000000d0| 74 7d 0a 5c 61 64 64 74 | 6f 6c 65 6e 67 74 68 7b |t}.\addt|olength{|
|000000e0| 5c 74 6f 70 6d 61 72 67 | 69 6e 7d 7b 2d 5c 68 65 |\topmarg|in}{-\he|
|000000f0| 61 64 73 65 70 7d 0a 5c | 73 65 74 6c 65 6e 67 74 |adsep}.\|setlengt|
|00000100| 68 7b 5c 74 65 78 74 68 | 65 69 67 68 74 7d 7b 38 |h{\texth|eight}{8|
|00000110| 2e 39 69 6e 7d 0a 5c 73 | 65 74 6c 65 6e 67 74 68 |.9in}.\s|etlength|
|00000120| 7b 5c 74 65 78 74 77 69 | 64 74 68 7d 7b 36 2e 35 |{\textwi|dth}{6.5|
|00000130| 69 6e 7d 0a 5c 73 65 74 | 6c 65 6e 67 74 68 7b 5c |in}.\set|length{\|
|00000140| 6d 61 72 67 69 6e 70 61 | 72 77 69 64 74 68 7d 7b |marginpa|rwidth}{|
|00000150| 30 2e 35 69 6e 7d 0a 0a | 5c 74 69 74 6c 65 7b 4e |0.5in}..|\title{N|
|00000160| 75 77 65 62 20 56 65 72 | 73 69 6f 6e 20 30 2e 38 |uweb Ver|sion 0.8|
|00000170| 37 62 20 5c 5c 20 41 20 | 53 69 6d 70 6c 65 20 4c |7b \\ A |Simple L|
|00000180| 69 74 65 72 61 74 65 20 | 50 72 6f 67 72 61 6d 6d |iterate |Programm|
|00000190| 69 6e 67 20 54 6f 6f 6c | 7d 0a 5c 64 61 74 65 7b |ing Tool|}.\date{|
|000001a0| 7d 0a 5c 61 75 74 68 6f | 72 7b 50 72 65 73 74 6f |}.\autho|r{Presto|
|000001b0| 6e 20 42 72 69 67 67 73 | 5c 74 68 61 6e 6b 73 7b |n Briggs|\thanks{|
|000001c0| 54 68 69 73 20 77 6f 72 | 6b 20 68 61 73 20 62 65 |This wor|k has be|
|000001d0| 65 6e 20 73 75 70 70 6f | 72 74 65 64 20 62 79 20 |en suppo|rted by |
|000001e0| 41 52 50 41 2c 0a 74 68 | 72 6f 75 67 68 20 4f 4e |ARPA,.th|rough ON|
|000001f0| 52 20 67 72 61 6e 74 20 | 4e 30 30 30 31 34 2d 39 |R grant |N00014-9|
|00000200| 31 2d 4a 2d 31 39 38 39 | 2e 7d 0a 5c 5c 20 5c 73 |1-J-1989|.}.\\ \s|
|00000210| 6c 20 70 72 65 73 74 6f | 6e 40 40 63 73 2e 72 69 |l presto|n@@cs.ri|
|00000220| 63 65 2e 65 64 75 0a 5c | 5c 20 48 54 4d 4c 20 73 |ce.edu.\|\ HTML s|
|00000230| 63 72 61 70 20 67 65 6e | 65 72 61 74 6f 72 20 62 |crap gen|erator b|
|00000240| 79 20 4a 6f 68 6e 20 44 | 2e 20 52 61 6d 73 64 65 |y John D|. Ramsde|
|00000250| 6c 6c 0a 5c 5c 20 5c 73 | 6c 20 72 61 6d 73 64 65 |ll.\\ \s|l ramsde|
|00000260| 6c 6c 40 40 6d 69 74 72 | 65 2e 6f 72 67 7d 0a 0a |ll@@mitr|e.org}..|
|00000270| 5c 62 65 67 69 6e 7b 64 | 6f 63 75 6d 65 6e 74 7d |\begin{d|ocument}|
|00000280| 0a 5c 70 61 67 65 6e 75 | 6d 62 65 72 69 6e 67 7b |.\pagenu|mbering{|
|00000290| 72 6f 6d 61 6e 7d 0a 5c | 6d 61 6b 65 74 69 74 6c |roman}.\|maketitl|
|000002a0| 65 0a 5c 74 61 62 6c 65 | 6f 66 63 6f 6e 74 65 6e |e.\table|ofconten|
|000002b0| 74 73 0a 0a 5c 63 68 61 | 70 74 65 72 7b 49 6e 74 |ts..\cha|pter{Int|
|000002c0| 72 6f 64 75 63 74 69 6f | 6e 7d 0a 5c 70 61 67 65 |roductio|n}.\page|
|000002d0| 6e 75 6d 62 65 72 69 6e | 67 7b 61 72 61 62 69 63 |numberin|g{arabic|
|000002e0| 7d 0a 0a 49 6e 20 31 39 | 38 34 2c 20 4b 6e 75 74 |}..In 19|84, Knut|
|000002f0| 68 20 69 6e 74 72 6f 64 | 75 63 65 64 20 74 68 65 |h introd|uced the|
|00000300| 20 69 64 65 61 20 6f 66 | 20 7b 5c 65 6d 20 6c 69 | idea of| {\em li|
|00000310| 74 65 72 61 74 65 20 70 | 72 6f 67 72 61 6d 6d 69 |terate p|rogrammi|
|00000320| 6e 67 5c 2f 7d 20 61 6e | 64 0a 64 65 73 63 72 69 |ng\/} an|d.descri|
|00000330| 62 65 64 20 61 20 70 61 | 69 72 20 6f 66 20 74 6f |bed a pa|ir of to|
|00000340| 6f 6c 73 20 74 6f 20 73 | 75 70 70 6f 72 74 20 74 |ols to s|upport t|
|00000350| 68 65 20 70 72 61 63 74 | 69 73 65 7e 5c 63 69 74 |he pract|ise~\cit|
|00000360| 65 7b 6b 6e 75 74 68 3a | 38 34 7d 2e 0a 48 69 73 |e{knuth:|84}..His|
|00000370| 20 61 70 70 72 6f 61 63 | 68 20 77 61 73 20 74 6f | approac|h was to|
|00000380| 20 63 6f 6d 62 69 6e 65 | 20 50 61 73 63 61 6c 20 | combine| Pascal |
|00000390| 63 6f 64 65 20 77 69 74 | 68 20 5c 54 65 58 5c 20 |code wit|h \TeX\ |
|000003a0| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 74 6f |document|ation to|
|000003b0| 0a 70 72 6f 64 75 63 65 | 20 61 20 6e 65 77 20 6c |.produce| a new l|
|000003c0| 61 6e 67 75 61 67 65 2c | 20 5c 76 65 72 62 7c 57 |anguage,| \verb|W|
|000003d0| 45 42 7c 2c 20 74 68 61 | 74 20 6f 66 66 65 72 65 |EB|, tha|t offere|
|000003e0| 64 20 70 72 6f 67 72 61 | 6d 6d 65 72 73 20 61 20 |d progra|mmers a |
|000003f0| 73 75 70 65 72 69 6f 72 | 0a 61 70 70 72 6f 61 63 |superior|.approac|
|00000400| 68 20 74 6f 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 |h to pro|gramming|
|00000410| 2e 20 48 65 20 77 72 6f | 74 65 20 73 65 76 65 72 |. He wro|te sever|
|00000420| 61 6c 20 70 72 6f 67 72 | 61 6d 73 20 69 6e 20 5c |al progr|ams in \|
|00000430| 76 65 72 62 7c 57 45 42 | 7c 2c 0a 69 6e 63 6c 75 |verb|WEB||,.inclu|
|00000440| 64 69 6e 67 20 5c 76 65 | 72 62 7c 77 65 61 76 65 |ding \ve|rb|weave|
|00000450| 7c 20 61 6e 64 20 5c 76 | 65 72 62 7c 74 61 6e 67 || and \v|erb|tang|
|00000460| 6c 65 7c 2c 20 74 68 65 | 20 70 72 6f 67 72 61 6d |le|, the| program|
|00000470| 73 20 75 73 65 64 20 74 | 6f 20 73 75 70 70 6f 72 |s used t|o suppor|
|00000480| 74 0a 6c 69 74 65 72 61 | 74 65 20 70 72 6f 67 72 |t.litera|te progr|
|00000490| 61 6d 6d 69 6e 67 2e 0a | 54 68 65 20 69 64 65 61 |amming..|The idea|
|000004a0| 20 77 61 73 20 74 68 61 | 74 20 61 20 70 72 6f 67 | was tha|t a prog|
|000004b0| 72 61 6d 6d 65 72 20 77 | 72 6f 74 65 20 6f 6e 65 |rammer w|rote one|
|000004c0| 20 64 6f 63 75 6d 65 6e | 74 2c 20 74 68 65 20 77 | documen|t, the w|
|000004d0| 65 62 20 66 69 6c 65 2c | 20 74 68 61 74 0a 63 6f |eb file,| that.co|
|000004e0| 6d 62 69 6e 65 64 20 64 | 6f 63 75 6d 65 6e 74 61 |mbined d|ocumenta|
|000004f0| 74 69 6f 6e 20 28 77 72 | 69 74 74 65 6e 20 69 6e |tion (wr|itten in|
|00000500| 20 5c 54 65 58 7e 5c 63 | 69 74 65 7b 74 65 78 62 | \TeX~\c|ite{texb|
|00000510| 6f 6f 6b 7d 29 20 77 69 | 74 68 20 63 6f 64 65 0a |ook}) wi|th code.|
|00000520| 28 77 72 69 74 74 65 6e | 20 69 6e 20 50 61 73 63 |(written| in Pasc|
|00000530| 61 6c 29 2e 0a 0a 52 75 | 6e 6e 69 6e 67 20 5c 76 |al)...Ru|nning \v|
|00000540| 65 72 62 7c 74 61 6e 67 | 6c 65 7c 20 6f 6e 20 74 |erb|tang|le| on t|
|00000550| 68 65 20 77 65 62 20 66 | 69 6c 65 20 77 6f 75 6c |he web f|ile woul|
|00000560| 64 20 70 72 6f 64 75 63 | 65 20 61 20 63 6f 6d 70 |d produc|e a comp|
|00000570| 6c 65 74 65 0a 50 61 73 | 63 61 6c 20 70 72 6f 67 |lete.Pas|cal prog|
|00000580| 72 61 6d 2c 20 72 65 61 | 64 79 20 66 6f 72 20 63 |ram, rea|dy for c|
|00000590| 6f 6d 70 69 6c 61 74 69 | 6f 6e 20 62 79 20 61 6e |ompilati|on by an|
|000005a0| 20 6f 72 64 69 6e 61 72 | 79 20 50 61 73 63 61 6c | ordinar|y Pascal|
|000005b0| 20 63 6f 6d 70 69 6c 65 | 72 2e 0a 54 68 65 20 70 | compile|r..The p|
|000005c0| 72 69 6d 61 72 79 20 66 | 75 6e 63 74 69 6f 6e 20 |rimary f|unction |
|000005d0| 6f 66 20 5c 76 65 72 62 | 7c 74 61 6e 67 6c 65 7c |of \verb||tangle||
|000005e0| 20 69 73 20 74 6f 20 61 | 6c 6c 6f 77 20 74 68 65 | is to a|llow the|
|000005f0| 20 70 72 6f 67 72 61 6d | 6d 65 72 20 74 6f 0a 70 | program|mer to.p|
|00000600| 72 65 73 65 6e 74 20 65 | 6c 65 6d 65 6e 74 73 20 |resent e|lements |
|00000610| 6f 66 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 69 |of the p|rogram i|
|00000620| 6e 20 61 6e 79 20 64 65 | 73 69 72 65 64 20 6f 72 |n any de|sired or|
|00000630| 64 65 72 2c 20 72 65 67 | 61 72 64 6c 65 73 73 20 |der, reg|ardless |
|00000640| 6f 66 0a 74 68 65 20 72 | 65 73 74 72 69 63 74 69 |of.the r|estricti|
|00000650| 6f 6e 73 20 69 6d 70 6f | 73 65 64 20 62 79 20 74 |ons impo|sed by t|
|00000660| 68 65 20 70 72 6f 67 72 | 61 6d 6d 69 6e 67 20 6c |he progr|amming l|
|00000670| 61 6e 67 75 61 67 65 2e | 20 54 68 75 73 2c 20 74 |anguage.| Thus, t|
|00000680| 68 65 0a 70 72 6f 67 72 | 61 6d 6d 65 72 20 69 73 |he.progr|ammer is|
|00000690| 20 66 72 65 65 20 74 6f | 20 70 72 65 73 65 6e 74 | free to| present|
|000006a0| 20 68 69 73 20 70 72 6f | 67 72 61 6d 20 69 6e 20 | his pro|gram in |
|000006b0| 61 20 74 6f 70 2d 64 6f | 77 6e 20 66 61 73 68 69 |a top-do|wn fashi|
|000006c0| 6f 6e 2c 0a 62 6f 74 74 | 6f 6d 2d 75 70 20 66 61 |on,.bott|om-up fa|
|000006d0| 73 68 69 6f 6e 2c 20 6f | 72 20 77 68 61 74 65 76 |shion, o|r whatev|
|000006e0| 65 72 20 73 65 65 6d 73 | 20 62 65 73 74 20 69 6e |er seems| best in|
|000006f0| 20 74 65 72 6d 73 20 6f | 66 20 70 72 6f 6d 6f 74 | terms o|f promot|
|00000700| 69 6e 67 0a 75 6e 64 65 | 72 73 74 61 6e 64 69 6e |ing.unde|rstandin|
|00000710| 67 20 61 6e 64 20 6d 61 | 69 6e 74 65 6e 61 6e 63 |g and ma|intenanc|
|00000720| 65 2e 0a 0a 52 75 6e 6e | 69 6e 67 20 5c 76 65 72 |e...Runn|ing \ver|
|00000730| 62 7c 77 65 61 76 65 7c | 20 6f 6e 20 74 68 65 20 |b|weave|| on the |
|00000740| 77 65 62 20 66 69 6c 65 | 20 77 6f 75 6c 64 20 70 |web file| would p|
|00000750| 72 6f 64 75 63 65 20 61 | 20 5c 54 65 58 5c 20 66 |roduce a| \TeX\ f|
|00000760| 69 6c 65 2c 20 72 65 61 | 64 79 0a 74 6f 20 62 65 |ile, rea|dy.to be|
|00000770| 20 70 72 6f 63 65 73 73 | 65 64 20 62 79 20 5c 54 | process|ed by \T|
|00000780| 65 58 5c 40 40 2e 20 54 | 68 65 20 72 65 73 75 6c |eX\@@. T|he resul|
|00000790| 74 69 6e 67 20 64 6f 63 | 75 6d 65 6e 74 20 69 6e |ting doc|ument in|
|000007a0| 63 6c 75 64 65 64 20 61 | 20 76 61 72 69 65 74 79 |cluded a| variety|
|000007b0| 20 6f 66 0a 61 75 74 6f | 6d 61 74 69 63 61 6c 6c | of.auto|maticall|
|000007c0| 79 20 67 65 6e 65 72 61 | 74 65 64 20 69 6e 64 65 |y genera|ted inde|
|000007d0| 78 65 73 20 61 6e 64 20 | 63 72 6f 73 73 2d 72 65 |xes and |cross-re|
|000007e0| 66 65 72 65 6e 63 65 73 | 20 74 68 61 74 20 6d 61 |ferences| that ma|
|000007f0| 64 65 20 69 74 20 6d 75 | 63 68 0a 65 61 73 69 65 |de it mu|ch.easie|
|00000800| 72 20 74 6f 20 6e 61 76 | 69 67 61 74 65 20 74 68 |r to nav|igate th|
|00000810| 65 20 63 6f 64 65 2e 20 | 41 64 64 69 74 69 6f 6e |e code. |Addition|
|00000820| 61 6c 6c 79 2c 20 61 6c | 6c 20 6f 66 20 74 68 65 |ally, al|l of the|
|00000830| 20 63 6f 64 65 20 73 65 | 63 74 69 6f 6e 73 0a 77 | code se|ctions.w|
|00000840| 65 72 65 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c |ere auto|maticall|
|00000850| 79 20 70 72 65 74 74 79 | 20 70 72 69 6e 74 65 64 |y pretty| printed|
|00000860| 2c 20 72 65 73 75 6c 74 | 69 6e 67 20 69 6e 20 61 |, result|ing in a|
|00000870| 20 71 75 69 74 65 20 69 | 6d 70 72 65 73 73 69 76 | quite i|mpressiv|
|00000880| 65 0a 64 6f 63 75 6d 65 | 6e 74 2e 0a 0a 4b 6e 75 |e.docume|nt...Knu|
|00000890| 74 68 20 61 6c 73 6f 20 | 77 72 6f 74 65 20 74 68 |th also |wrote th|
|000008a0| 65 20 70 72 6f 67 72 61 | 6d 73 20 66 6f 72 20 5c |e progra|ms for \|
|000008b0| 54 65 58 5c 20 61 6e 64 | 20 7b 5c 73 6d 61 6c 6c |TeX\ and| {\small|
|000008c0| 5c 73 66 20 4d 45 54 41 | 46 4f 4e 54 7d 0a 65 6e |\sf META|FONT}.en|
|000008d0| 74 69 72 65 6c 79 20 69 | 6e 20 5c 76 65 72 62 7c |tirely i|n \verb||
|000008e0| 57 45 42 7c 2c 20 65 76 | 65 6e 74 75 61 6c 6c 79 |WEB|, ev|entually|
|000008f0| 20 70 75 62 6c 69 73 68 | 69 6e 67 20 74 68 65 6d | publish|ing them|
|00000900| 20 69 6e 20 62 6f 6f 6b | 0a 66 6f 72 6d 7e 5c 63 | in book|.form~\c|
|00000910| 69 74 65 7b 74 65 78 3a | 70 72 6f 67 72 61 6d 2c |ite{tex:|program,|
|00000920| 6d 65 74 61 66 6f 6e 74 | 3a 70 72 6f 67 72 61 6d |metafont|:program|
|00000930| 7d 2e 20 54 68 65 73 65 | 20 61 72 65 20 70 72 6f |}. These| are pro|
|00000940| 62 61 62 6c 79 20 74 68 | 65 0a 6c 61 72 67 65 73 |bably th|e.larges|
|00000950| 74 20 70 72 6f 67 72 61 | 6d 73 20 65 76 65 72 20 |t progra|ms ever |
|00000960| 70 75 62 6c 69 73 68 65 | 64 20 69 6e 20 61 20 72 |publishe|d in a r|
|00000970| 65 61 64 61 62 6c 65 20 | 66 6f 72 6d 2e 0a 0a 49 |eadable |form...I|
|00000980| 6e 73 70 69 72 65 64 20 | 62 79 20 4b 6e 75 74 68 |nspired |by Knuth|
|00000990| 27 73 20 65 78 61 6d 70 | 6c 65 2c 20 6d 61 6e 79 |'s examp|le, many|
|000009a0| 20 70 65 6f 70 6c 65 20 | 68 61 76 65 20 65 78 70 | people |have exp|
|000009b0| 65 72 69 6d 65 6e 74 65 | 64 20 77 69 74 68 0a 5c |erimente|d with.\|
|000009c0| 76 65 72 62 7c 57 45 42 | 7c 5c 40 40 2e 20 53 6f |verb|WEB||\@@. So|
|000009d0| 6d 65 20 70 65 6f 70 6c | 65 20 68 61 76 65 20 65 |me peopl|e have e|
|000009e0| 76 65 6e 20 62 75 69 6c | 74 20 77 65 62 2d 6c 69 |ven buil|t web-li|
|000009f0| 6b 65 20 74 6f 6f 6c 73 | 20 66 6f 72 20 74 68 65 |ke tools| for the|
|00000a00| 69 72 0a 6f 77 6e 20 66 | 61 76 6f 72 69 74 65 20 |ir.own f|avorite |
|00000a10| 63 6f 6d 62 69 6e 61 74 | 69 6f 6e 73 20 6f 66 20 |combinat|ions of |
|00000a20| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 6c 61 6e 67 |programm|ing lang|
|00000a30| 75 61 67 65 20 61 6e 64 | 20 74 79 70 65 73 65 74 |uage and| typeset|
|00000a40| 74 69 6e 67 0a 6c 61 6e | 67 75 61 67 65 2e 20 46 |ting.lan|guage. F|
|00000a50| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 5c 76 65 72 |or examp|le, \ver|
|00000a60| 62 7c 43 57 45 42 7c 2c | 20 4b 6e 75 74 68 27 73 |b|CWEB|,| Knuth's|
|00000a70| 20 63 75 72 72 65 6e 74 | 20 73 79 73 74 65 6d 20 | current| system |
|00000a80| 6f 66 20 63 68 6f 69 63 | 65 2c 0a 77 6f 72 6b 73 |of choic|e,.works|
|00000a90| 20 77 69 74 68 20 61 20 | 63 6f 6d 62 69 6e 61 74 | with a |combinat|
|00000aa0| 69 6f 6e 20 6f 66 20 43 | 20 28 6f 72 20 43 2b 2b |ion of C| (or C++|
|00000ab0| 29 20 61 6e 64 20 5c 54 | 65 58 7e 5c 63 69 74 65 |) and \T|eX~\cite|
|00000ac0| 7b 6c 65 76 79 3a 39 30 | 7d 2e 0a 41 6e 6f 74 68 |{levy:90|}..Anoth|
|00000ad0| 65 72 20 73 79 73 74 65 | 6d 2c 20 46 75 6e 6e 65 |er syste|m, Funne|
|00000ae0| 6c 57 65 62 2c 20 69 73 | 20 69 6e 64 65 70 65 6e |lWeb, is| indepen|
|00000af0| 64 65 6e 74 20 6f 66 20 | 61 6e 79 20 70 72 6f 67 |dent of |any prog|
|00000b00| 72 61 6d 6d 69 6e 67 20 | 6c 61 6e 67 75 61 67 65 |ramming |language|
|00000b10| 0a 61 6e 64 20 6f 6e 6c | 79 20 6d 69 6c 64 6c 79 |.and onl|y mildly|
|00000b20| 20 64 65 70 65 6e 64 65 | 6e 74 20 6f 6e 20 5c 54 | depende|nt on \T|
|00000b30| 65 58 7e 5c 63 69 74 65 | 7b 66 75 6e 6e 65 6c 77 |eX~\cite|{funnelw|
|00000b40| 65 62 7d 2e 20 49 6e 73 | 70 69 72 65 64 20 62 79 |eb}. Ins|pired by|
|00000b50| 20 74 68 65 0a 76 65 72 | 73 61 74 69 6c 69 74 79 | the.ver|satility|
|00000b60| 20 6f 66 20 46 75 6e 6e | 65 6c 57 65 62 20 61 6e | of Funn|elWeb an|
|00000b70| 64 20 62 79 20 74 68 65 | 20 64 61 75 6e 74 69 6e |d by the| dauntin|
|00000b80| 67 20 73 69 7a 65 20 6f | 66 20 69 74 73 0a 64 6f |g size o|f its.do|
|00000b90| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 2c 20 49 20 64 |cumentat|ion, I d|
|00000ba0| 65 63 69 64 65 64 20 74 | 6f 20 77 72 69 74 65 20 |ecided t|o write |
|00000bb0| 6d 79 20 6f 77 6e 2c 20 | 76 65 72 79 20 73 69 6d |my own, |very sim|
|00000bc0| 70 6c 65 2c 20 74 6f 6f | 6c 20 66 6f 72 0a 6c 69 |ple, too|l for.li|
|00000bd0| 74 65 72 61 74 65 20 70 | 72 6f 67 72 61 6d 6d 69 |terate p|rogrammi|
|00000be0| 6e 67 2e 25 0a 5c 66 6f | 6f 74 6e 6f 74 65 7b 54 |ng.%.\fo|otnote{T|
|00000bf0| 68 65 72 65 20 69 73 20 | 61 6e 6f 74 68 65 72 20 |here is |another |
|00000c00| 73 79 73 74 65 6d 20 73 | 69 6d 69 6c 61 72 20 74 |system s|imilar t|
|00000c10| 6f 0a 6d 69 6e 65 2c 20 | 77 72 69 74 74 65 6e 20 |o.mine, |written |
|00000c20| 62 79 20 4e 6f 72 6d 61 | 6e 20 52 61 6d 73 65 79 |by Norma|n Ramsey|
|00000c30| 2c 20 63 61 6c 6c 65 64 | 20 7b 5c 65 6d 20 6e 6f |, called| {\em no|
|00000c40| 77 65 62 7d 7e 5c 63 69 | 74 65 7b 6e 6f 77 65 62 |web}~\ci|te{noweb|
|00000c50| 7d 2e 20 49 74 0a 70 65 | 72 68 61 70 73 20 73 75 |}. It.pe|rhaps su|
|00000c60| 66 66 65 72 73 20 66 72 | 6f 6d 20 62 65 69 6e 67 |ffers fr|om being|
|00000c70| 20 6f 76 65 72 6c 79 20 | 55 4e 49 58 2d 64 65 70 | overly |UNIX-dep|
|00000c80| 65 6e 64 65 6e 74 20 61 | 6e 64 20 72 65 71 75 69 |endent a|nd requi|
|00000c90| 72 69 6e 67 20 73 65 76 | 65 72 61 6c 0a 70 72 6f |ring sev|eral.pro|
|00000ca0| 67 72 61 6d 73 20 74 6f | 20 75 73 65 2e 20 4f 6e |grams to| use. On|
|00000cb0| 20 74 68 65 20 6f 74 68 | 65 72 20 68 61 6e 64 2c | the oth|er hand,|
|00000cc0| 20 69 74 73 20 63 6f 6d | 6d 61 6e 64 20 73 79 6e | its com|mand syn|
|00000cd0| 74 61 78 20 69 73 20 76 | 65 72 79 20 6e 69 63 65 |tax is v|ery nice|
|00000ce0| 2e 0a 49 6e 20 61 6e 79 | 20 63 61 73 65 2c 20 6e |..In any| case, n|
|00000cf0| 75 77 65 62 20 63 65 72 | 74 61 69 6e 6c 79 20 6f |uweb cer|tainly o|
|00000d00| 77 65 73 20 69 74 73 20 | 6e 61 6d 65 20 61 6e 64 |wes its |name and|
|00000d10| 20 61 20 6e 75 6d 62 65 | 72 20 6f 66 20 66 65 61 | a numbe|r of fea|
|00000d20| 74 75 72 65 73 20 74 6f | 0a 68 69 73 20 69 6e 73 |tures to|.his ins|
|00000d30| 70 69 72 61 74 69 6f 6e | 2e 7d 0a 0a 0a 5c 73 65 |piration|.}...\se|
|00000d40| 63 74 69 6f 6e 7b 4e 75 | 77 65 62 7d 0a 0a 4e 75 |ction{Nu|web}..Nu|
|00000d50| 77 65 62 20 77 6f 72 6b | 73 20 77 69 74 68 20 61 |web work|s with a|
|00000d60| 6e 79 20 70 72 6f 67 72 | 61 6d 6d 69 6e 67 20 6c |ny progr|amming l|
|00000d70| 61 6e 67 75 61 67 65 20 | 61 6e 64 20 5c 4c 61 54 |anguage |and \LaT|
|00000d80| 65 58 7e 5c 63 69 74 65 | 7b 6c 61 74 65 78 7d 2e |eX~\cite|{latex}.|
|00000d90| 20 49 0a 77 61 6e 74 65 | 64 20 74 6f 20 75 73 65 | I.wante|d to use|
|00000da0| 20 5c 4c 61 54 65 58 5c | 20 62 65 63 61 75 73 65 | \LaTeX\| because|
|00000db0| 20 69 74 20 73 75 70 70 | 6f 72 74 73 20 61 20 6d | it supp|orts a m|
|00000dc0| 75 6c 74 69 2d 6c 65 76 | 65 6c 20 73 65 63 74 69 |ulti-lev|el secti|
|00000dd0| 6f 6e 69 6e 67 0a 73 63 | 68 65 6d 65 20 61 6e 64 |oning.sc|heme and|
|00000de0| 20 68 61 73 20 66 61 63 | 69 6c 69 74 69 65 73 20 | has fac|ilities |
|00000df0| 66 6f 72 20 64 72 61 77 | 69 6e 67 20 66 69 67 75 |for draw|ing figu|
|00000e00| 72 65 73 2e 20 49 20 77 | 61 6e 74 65 64 20 74 6f |res. I w|anted to|
|00000e10| 20 62 65 20 61 62 6c 65 | 20 74 6f 0a 77 6f 72 6b | be able| to.work|
|00000e20| 20 77 69 74 68 20 61 72 | 62 69 74 72 61 72 79 20 | with ar|bitrary |
|00000e30| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 6c 61 6e 67 |programm|ing lang|
|00000e40| 75 61 67 65 73 20 62 65 | 63 61 75 73 65 20 6d 79 |uages be|cause my|
|00000e50| 20 66 72 69 65 6e 64 73 | 20 61 6e 64 20 49 0a 77 | friends| and I.w|
|00000e60| 72 69 74 65 20 70 72 6f | 67 72 61 6d 73 20 69 6e |rite pro|grams in|
|00000e70| 20 6d 61 6e 79 20 6c 61 | 6e 67 75 61 67 65 73 20 | many la|nguages |
|00000e80| 28 61 6e 64 20 73 6f 6d | 65 74 69 6d 65 73 20 63 |(and som|etimes c|
|00000e90| 6f 6d 62 69 6e 61 74 69 | 6f 6e 73 20 6f 66 0a 73 |ombinati|ons of.s|
|00000ea0| 65 76 65 72 61 6c 20 6c | 61 6e 67 75 61 67 65 73 |everal l|anguages|
|00000eb0| 29 2c 20 7b 5c 65 6d 20 | 65 2e 67 2e 2c 7d 20 43 |), {\em |e.g.,} C|
|00000ec0| 2c 20 46 6f 72 74 72 61 | 6e 2c 20 43 2b 2b 2c 20 |, Fortra|n, C++, |
|00000ed0| 79 61 63 63 2c 20 6c 65 | 78 2c 20 53 63 68 65 6d |yacc, le|x, Schem|
|00000ee0| 65 2c 0a 61 73 73 65 6d | 62 6c 79 2c 20 50 6f 73 |e,.assem|bly, Pos|
|00000ef0| 74 73 63 72 69 70 74 2c | 20 61 6e 64 20 73 6f 20 |tscript,| and so |
|00000f00| 66 6f 72 74 68 2e 20 54 | 68 65 20 6e 65 65 64 20 |forth. T|he need |
|00000f10| 74 6f 20 73 75 70 70 6f | 72 74 20 61 72 62 69 74 |to suppo|rt arbit|
|00000f20| 72 61 72 79 0a 70 72 6f | 67 72 61 6d 6d 69 6e 67 |rary.pro|gramming|
|00000f30| 20 6c 61 6e 67 75 61 67 | 65 73 20 68 61 73 20 6d | languag|es has m|
|00000f40| 61 6e 79 20 63 6f 6e 73 | 65 71 75 65 6e 63 65 73 |any cons|equences|
|00000f50| 3a 0a 5c 62 65 67 69 6e | 7b 64 65 73 63 72 69 70 |:.\begin|{descrip|
|00000f60| 74 69 6f 6e 7d 0a 5c 69 | 74 65 6d 5b 4e 6f 20 70 |tion}.\i|tem[No p|
|00000f70| 72 65 74 74 79 20 70 72 | 69 6e 74 69 6e 67 5d 20 |retty pr|inting] |
|00000f80| 42 6f 74 68 20 5c 76 65 | 72 62 7c 57 45 42 7c 20 |Both \ve|rb|WEB| |
|00000f90| 61 6e 64 20 5c 76 65 72 | 62 7c 43 57 45 42 7c 20 |and \ver|b|CWEB| |
|00000fa0| 61 72 65 20 61 62 6c 65 | 20 74 6f 0a 20 20 70 72 |are able| to. pr|
|00000fb0| 65 74 74 79 20 70 72 69 | 6e 74 20 74 68 65 20 63 |etty pri|nt the c|
|00000fc0| 6f 64 65 20 73 65 63 74 | 69 6f 6e 73 20 6f 66 20 |ode sect|ions of |
|00000fd0| 74 68 65 69 72 20 64 6f | 63 75 6d 65 6e 74 73 20 |their do|cuments |
|00000fe0| 62 65 63 61 75 73 65 20 | 74 68 65 79 0a 20 20 75 |because |they. u|
|00000ff0| 6e 64 65 72 73 74 61 6e | 64 20 74 68 65 20 6c 61 |nderstan|d the la|
|00001000| 6e 67 75 61 67 65 20 77 | 65 6c 6c 20 65 6e 6f 75 |nguage w|ell enou|
|00001010| 67 68 20 74 6f 20 70 61 | 72 73 65 20 69 74 2e 20 |gh to pa|rse it. |
|00001020| 53 69 6e 63 65 20 77 65 | 20 77 61 6e 74 20 74 6f |Since we| want to|
|00001030| 20 75 73 65 0a 20 20 7b | 5c 65 6d 20 61 6e 79 5c | use. {|\em any\|
|00001040| 2f 7d 20 6c 61 6e 67 75 | 61 67 65 2c 20 77 65 27 |/} langu|age, we'|
|00001050| 76 65 20 67 6f 74 20 74 | 6f 20 61 62 61 6e 64 6f |ve got t|o abando|
|00001060| 6e 20 74 68 69 73 20 66 | 65 61 74 75 72 65 2e 0a |n this f|eature..|
|00001070| 5c 69 74 65 6d 5b 4e 6f | 20 69 6e 64 65 78 20 6f |\item[No| index o|
|00001080| 66 20 69 64 65 6e 74 69 | 66 69 65 72 73 5d 20 42 |f identi|fiers] B|
|00001090| 65 63 61 75 73 65 20 5c | 76 65 72 62 7c 57 45 42 |ecause \|verb|WEB|
|000010a0| 7c 20 6b 6e 6f 77 73 20 | 61 62 6f 75 74 20 50 61 || knows |about Pa|
|000010b0| 73 63 61 6c 2c 0a 20 20 | 69 74 20 69 73 20 61 62 |scal,. |it is ab|
|000010c0| 6c 65 20 74 6f 20 63 6f | 6e 73 74 72 75 63 74 20 |le to co|nstruct |
|000010d0| 61 6e 20 69 6e 64 65 78 | 20 6f 66 20 61 6c 6c 20 |an index| of all |
|000010e0| 74 68 65 20 69 64 65 6e | 74 69 66 69 65 72 73 20 |the iden|tifiers |
|000010f0| 6f 63 63 75 72 72 69 6e | 67 20 69 6e 0a 20 20 74 |occurrin|g in. t|
|00001100| 68 65 20 63 6f 64 65 20 | 73 65 63 74 69 6f 6e 73 |he code |sections|
|00001110| 20 28 66 69 6c 74 65 72 | 69 6e 67 20 6f 75 74 20 | (filter|ing out |
|00001120| 6b 65 79 77 6f 72 64 73 | 20 61 6e 64 20 74 68 65 |keywords| and the|
|00001130| 20 73 74 61 6e 64 61 72 | 64 20 74 79 70 65 0a 20 | standar|d type. |
|00001140| 20 69 64 65 6e 74 69 66 | 69 65 72 73 29 2e 20 55 | identif|iers). U|
|00001150| 6e 66 6f 72 74 75 6e 61 | 74 65 6c 79 2c 20 74 68 |nfortuna|tely, th|
|00001160| 69 73 20 69 73 6e 27 74 | 20 61 73 20 65 61 73 79 |is isn't| as easy|
|00001170| 20 69 6e 20 6f 75 72 20 | 63 61 73 65 2e 20 57 65 | in our |case. We|
|00001180| 20 64 6f 6e 27 74 0a 20 | 20 6b 6e 6f 77 20 77 68 | don't. | know wh|
|00001190| 61 74 20 61 6e 20 69 64 | 65 6e 74 69 66 69 65 72 |at an id|entifier|
|000011a0| 73 20 6c 6f 6f 6b 73 20 | 6c 69 6b 65 20 69 6e 20 |s looks |like in |
|000011b0| 65 61 63 68 20 6c 61 6e | 67 75 61 67 65 20 61 6e |each lan|guage an|
|000011c0| 64 20 77 65 20 63 65 72 | 74 61 69 6e 6c 79 0a 20 |d we cer|tainly. |
|000011d0| 20 64 6f 6e 27 74 20 6b | 6e 6f 77 20 61 6c 6c 20 | don't k|now all |
|000011e0| 74 68 65 20 6b 65 79 77 | 6f 72 64 73 2e 20 28 4f |the keyw|ords. (O|
|000011f0| 6e 20 74 68 65 20 6f 74 | 68 65 72 20 68 61 6e 64 |n the ot|her hand|
|00001200| 2c 20 73 65 65 20 74 68 | 65 20 65 6e 64 20 6f 66 |, see th|e end of|
|00001210| 0a 20 20 53 65 63 74 69 | 6f 6e 7e 31 2e 33 29 0a |. Secti|on~1.3).|
|00001220| 5c 65 6e 64 7b 64 65 73 | 63 72 69 70 74 69 6f 6e |\end{des|cription|
|00001230| 7d 0a 4f 66 20 63 6f 75 | 72 73 65 2c 20 77 65 27 |}.Of cou|rse, we'|
|00001240| 76 65 20 67 6f 74 20 74 | 6f 20 68 61 76 65 20 73 |ve got t|o have s|
|00001250| 6f 6d 65 20 63 6f 6d 70 | 65 6e 73 61 74 69 6f 6e |ome comp|ensation|
|00001260| 20 66 6f 72 20 6f 75 72 | 20 6c 6f 73 73 65 73 20 | for our| losses |
|00001270| 6f 72 20 74 68 65 0a 77 | 68 6f 6c 65 20 69 64 65 |or the.w|hole ide|
|00001280| 61 20 77 6f 75 6c 64 20 | 62 65 20 61 20 77 61 73 |a would |be a was|
|00001290| 74 65 2e 20 48 65 72 65 | 20 61 72 65 20 74 68 65 |te. Here| are the|
|000012a0| 20 61 64 76 61 6e 74 61 | 67 65 73 20 49 20 63 61 | advanta|ges I ca|
|000012b0| 6e 20 73 65 65 3a 0a 5c | 62 65 67 69 6e 7b 64 65 |n see:.\|begin{de|
|000012c0| 73 63 72 69 70 74 69 6f | 6e 7d 0a 5c 69 74 65 6d |scriptio|n}.\item|
|000012d0| 5b 53 69 6d 70 6c 69 63 | 69 74 79 5d 20 54 68 65 |[Simplic|ity] The|
|000012e0| 20 6d 61 6a 6f 72 69 74 | 79 20 6f 66 20 74 68 65 | majorit|y of the|
|000012f0| 20 63 6f 6d 6d 61 6e 64 | 73 20 69 6e 20 5c 76 65 | command|s in \ve|
|00001300| 72 62 7c 57 45 42 7c 20 | 61 72 65 0a 20 20 63 6f |rb|WEB| |are. co|
|00001310| 6e 63 65 72 6e 65 64 20 | 77 69 74 68 20 63 6f 6e |ncerned |with con|
|00001320| 74 72 6f 6c 20 6f 66 20 | 74 68 65 20 61 75 74 6f |trol of |the auto|
|00001330| 6d 61 74 69 63 20 70 72 | 65 74 74 79 20 70 72 69 |matic pr|etty pri|
|00001340| 6e 74 69 6e 67 2e 20 53 | 69 6e 63 65 20 77 65 0a |nting. S|ince we.|
|00001350| 20 20 64 6f 6e 27 74 20 | 70 72 65 74 74 79 20 70 | don't |pretty p|
|00001360| 72 69 6e 74 2c 20 6d 61 | 6e 79 20 63 6f 6d 6d 61 |rint, ma|ny comma|
|00001370| 6e 64 73 20 61 72 65 20 | 65 6c 69 6d 69 6e 61 74 |nds are |eliminat|
|00001380| 65 64 2e 20 41 20 66 75 | 72 74 68 65 72 20 73 65 |ed. A fu|rther se|
|00001390| 74 20 6f 66 0a 20 20 63 | 6f 6d 6d 61 6e 64 73 20 |t of. c|ommands |
|000013a0| 69 73 20 73 75 62 73 75 | 6d 65 64 20 62 79 20 5c |is subsu|med by \|
|000013b0| 4c 61 54 65 58 5c 20 20 | 61 6e 64 20 6d 61 79 20 |LaTeX\ |and may |
|000013c0| 61 6c 73 6f 20 62 65 20 | 65 6c 69 6d 69 6e 61 74 |also be |eliminat|
|000013d0| 65 64 2e 20 41 73 20 61 | 0a 20 20 72 65 73 75 6c |ed. As a|. resul|
|000013e0| 74 2c 20 6f 75 72 20 73 | 65 74 20 6f 66 20 63 6f |t, our s|et of co|
|000013f0| 6d 6d 61 6e 64 73 20 69 | 73 20 72 65 64 75 63 65 |mmands i|s reduce|
|00001400| 64 20 74 6f 20 6f 6e 6c | 79 20 66 6f 75 72 20 6d |d to onl|y four m|
|00001410| 65 6d 62 65 72 73 20 28 | 65 78 70 6c 61 69 6e 65 |embers (|explaine|
|00001420| 64 0a 20 20 69 6e 20 74 | 68 65 20 6e 65 78 74 20 |d. in t|he next |
|00001430| 73 65 63 74 69 6f 6e 29 | 2e 20 54 68 69 73 20 73 |section)|. This s|
|00001440| 69 6d 70 6c 69 63 69 74 | 79 20 69 73 20 61 6c 73 |implicit|y is als|
|00001450| 6f 20 72 65 66 6c 65 63 | 74 65 64 20 69 6e 0a 20 |o reflec|ted in. |
|00001460| 20 74 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 69 | the siz|e of thi|
|00001470| 73 20 74 6f 6f 6c 2c 20 | 77 68 69 63 68 20 69 73 |s tool, |which is|
|00001480| 20 71 75 69 74 65 20 61 | 20 62 69 74 20 73 6d 61 | quite a| bit sma|
|00001490| 6c 6c 65 72 20 74 68 61 | 6e 20 74 68 65 20 74 6f |ller tha|n the to|
|000014a0| 6f 6c 73 0a 20 20 75 73 | 65 64 20 77 69 74 68 20 |ols. us|ed with |
|000014b0| 6f 74 68 65 72 20 61 70 | 70 72 6f 61 63 68 65 73 |other ap|proaches|
|000014c0| 2e 0a 5c 69 74 65 6d 5b | 4e 6f 20 70 72 65 74 74 |..\item[|No prett|
|000014d0| 79 20 70 72 69 6e 74 69 | 6e 67 5d 20 45 76 65 72 |y printi|ng] Ever|
|000014e0| 79 6f 6e 65 20 64 69 73 | 61 67 72 65 65 73 20 61 |yone dis|agrees a|
|000014f0| 62 6f 75 74 20 68 6f 77 | 20 74 68 65 69 72 20 63 |bout how| their c|
|00001500| 6f 64 65 0a 20 20 73 68 | 6f 75 6c 64 20 6c 6f 6f |ode. sh|ould loo|
|00001510| 6b 2c 20 73 6f 20 61 75 | 74 6f 6d 61 74 69 63 20 |k, so au|tomatic |
|00001520| 66 6f 72 6d 61 74 74 69 | 6e 67 20 61 6e 6e 6f 79 |formatti|ng annoy|
|00001530| 73 20 6d 61 6e 79 20 70 | 65 6f 70 6c 65 2e 20 4f |s many p|eople. O|
|00001540| 6e 65 20 61 70 70 72 6f | 61 63 68 0a 20 20 69 73 |ne appro|ach. is|
|00001550| 20 74 6f 20 70 72 6f 76 | 69 64 65 20 77 61 79 73 | to prov|ide ways|
|00001560| 20 74 6f 20 63 6f 6e 74 | 72 6f 6c 20 74 68 65 20 | to cont|rol the |
|00001570| 66 6f 72 6d 61 74 74 69 | 6e 67 2e 20 4f 75 72 20 |formatti|ng. Our |
|00001580| 61 70 70 72 6f 61 63 68 | 20 69 73 0a 20 20 73 69 |approach| is. si|
|00001590| 6d 70 6c 65 72 2d 2d 2d | 77 65 20 70 65 72 66 6f |mpler---|we perfo|
|000015a0| 72 6d 20 6e 6f 20 61 75 | 74 6f 6d 61 74 69 63 20 |rm no au|tomatic |
|000015b0| 66 6f 72 6d 61 74 74 69 | 6e 67 20 61 6e 64 20 74 |formatti|ng and t|
|000015c0| 68 65 72 65 66 6f 72 65 | 20 61 6c 6c 6f 77 20 74 |herefore| allow t|
|000015d0| 68 65 0a 20 20 70 72 6f | 67 72 61 6d 6d 65 72 20 |he. pro|grammer |
|000015e0| 63 6f 6d 70 6c 65 74 65 | 20 63 6f 6e 74 72 6f 6c |complete| control|
|000015f0| 20 6f 66 20 63 6f 64 65 | 20 6c 61 79 6f 75 74 2e | of code| layout.|
|00001600| 0a 5c 69 74 65 6d 5b 43 | 6f 6e 74 72 6f 6c 5d 20 |.\item[C|ontrol] |
|00001610| 57 65 20 61 6c 73 6f 20 | 6f 66 66 65 72 20 74 68 |We also |offer th|
|00001620| 65 20 70 72 6f 67 72 61 | 6d 6d 65 72 20 63 6f 6d |e progra|mmer com|
|00001630| 70 6c 65 74 65 20 63 6f | 6e 74 72 6f 6c 20 6f 66 |plete co|ntrol of|
|00001640| 20 74 68 65 0a 20 20 6c | 61 79 6f 75 74 20 6f 66 | the. l|ayout of|
|00001650| 20 68 69 73 20 6f 75 74 | 70 75 74 20 66 69 6c 65 | his out|put file|
|00001660| 73 20 28 74 68 65 20 66 | 69 6c 65 73 20 67 65 6e |s (the f|iles gen|
|00001670| 65 72 61 74 65 64 20 64 | 75 72 69 6e 67 20 74 61 |erated d|uring ta|
|00001680| 6e 67 6c 69 6e 67 29 2e | 20 4f 66 0a 20 20 63 6f |ngling).| Of. co|
|00001690| 75 72 73 65 2c 20 74 68 | 69 73 20 69 73 20 65 73 |urse, th|is is es|
|000016a0| 73 65 6e 74 69 61 6c 20 | 66 6f 72 20 6c 61 6e 67 |sential |for lang|
|000016b0| 75 61 67 65 73 20 74 68 | 61 74 20 61 72 65 20 73 |uages th|at are s|
|000016c0| 65 6e 73 69 74 69 76 65 | 20 74 6f 20 6c 61 79 6f |ensitive| to layo|
|000016d0| 75 74 3b 0a 20 20 62 75 | 74 20 69 74 20 69 73 20 |ut;. bu|t it is |
|000016e0| 61 6c 73 6f 20 69 6d 70 | 6f 72 74 61 6e 74 20 69 |also imp|ortant i|
|000016f0| 6e 20 6d 61 6e 79 20 70 | 72 61 63 74 69 63 61 6c |n many p|ractical|
|00001700| 20 73 69 74 75 61 74 69 | 6f 6e 73 2c 20 7b 5c 65 | situati|ons, {\e|
|00001710| 6d 20 65 2e 67 2e 2c 7d | 0a 20 20 64 65 62 75 67 |m e.g.,}|. debug|
|00001720| 67 69 6e 67 2e 0a 5c 69 | 74 65 6d 5b 53 70 65 65 |ging..\i|tem[Spee|
|00001730| 64 5d 20 53 69 6e 63 65 | 20 6e 75 77 65 62 20 64 |d] Since| nuweb d|
|00001740| 6f 65 73 6e 27 74 20 64 | 6f 20 74 6f 20 6d 75 63 |oesn't d|o to muc|
|00001750| 68 2c 20 74 68 65 20 6e | 75 77 65 62 20 74 6f 6f |h, the n|uweb too|
|00001760| 6c 20 72 75 6e 73 0a 20 | 20 71 75 69 63 6b 6c 79 |l runs. | quickly|
|00001770| 2e 20 49 20 63 6f 6d 62 | 69 6e 65 20 74 68 65 20 |. I comb|ine the |
|00001780| 66 75 6e 63 74 69 6f 6e | 73 20 6f 66 20 5c 76 65 |function|s of \ve|
|00001790| 72 62 7c 74 61 6e 67 6c | 65 7c 20 61 6e 64 20 5c |rb|tangl|e| and \|
|000017a0| 76 65 72 62 7c 77 65 61 | 76 65 7c 20 69 6e 74 6f |verb|wea|ve| into|
|000017b0| 0a 20 20 61 20 73 69 6e | 67 6c 65 20 70 72 6f 67 |. a sin|gle prog|
|000017c0| 72 61 6d 20 74 68 61 74 | 20 70 65 72 66 6f 72 6d |ram that| perform|
|000017d0| 73 20 62 6f 74 68 20 66 | 75 6e 63 74 69 6f 6e 73 |s both f|unctions|
|000017e0| 20 61 74 20 6f 6e 63 65 | 2e 0a 5c 69 74 65 6d 5b | at once|..\item[|
|000017f0| 50 61 67 65 20 6e 75 6d | 62 65 72 73 5d 20 49 6e |Page num|bers] In|
|00001800| 73 70 69 72 65 64 20 62 | 79 20 74 68 65 20 65 78 |spired b|y the ex|
|00001810| 61 6d 70 6c 65 20 6f 66 | 20 6e 6f 77 65 62 2c 20 |ample of| noweb, |
|00001820| 6e 75 77 65 62 20 72 65 | 66 65 72 73 20 74 6f 0a |nuweb re|fers to.|
|00001830| 20 20 61 6c 6c 20 73 63 | 72 61 70 73 20 62 79 20 | all sc|raps by |
|00001840| 70 61 67 65 20 6e 75 6d | 62 65 72 20 74 6f 20 73 |page num|ber to s|
|00001850| 69 6d 70 6c 69 66 79 20 | 6e 61 76 69 67 61 74 69 |implify |navigati|
|00001860| 6f 6e 2e 20 49 66 20 74 | 68 65 72 65 20 61 72 65 |on. If t|here are|
|00001870| 0a 20 20 6d 75 6c 74 69 | 70 6c 65 20 73 63 72 61 |. multi|ple scra|
|00001880| 70 73 20 6f 6e 20 61 20 | 70 61 67 65 20 28 73 61 |ps on a |page (sa|
|00001890| 79 20 70 61 67 65 7e 31 | 37 29 2c 20 74 68 65 79 |y page~1|7), they|
|000018a0| 20 61 72 65 20 64 69 73 | 74 69 6e 67 75 69 73 68 | are dis|tinguish|
|000018b0| 65 64 20 62 79 0a 20 20 | 6c 6f 77 65 72 2d 63 61 |ed by. |lower-ca|
|000018c0| 73 65 20 6c 65 74 74 65 | 72 73 20 28 7b 5c 65 6d |se lette|rs ({\em|
|000018d0| 20 65 2e 67 2e 2c 7d 20 | 31 37 61 2c 20 31 37 62 | e.g.,} |17a, 17b|
|000018e0| 2c 20 61 6e 64 20 73 6f | 20 66 6f 72 74 68 29 2e |, and so| forth).|
|000018f0| 0a 5c 69 74 65 6d 5b 4d | 75 6c 74 69 70 6c 65 20 |.\item[M|ultiple |
|00001900| 66 69 6c 65 20 6f 75 74 | 70 75 74 5d 20 54 68 65 |file out|put] The|
|00001910| 20 70 72 6f 67 72 61 6d | 6d 65 72 20 6d 61 79 20 | program|mer may |
|00001920| 73 70 65 63 69 66 79 20 | 6d 6f 72 65 20 74 68 61 |specify |more tha|
|00001930| 6e 20 6f 6e 65 0a 20 20 | 6f 75 74 70 75 74 20 66 |n one. |output f|
|00001940| 69 6c 65 20 69 6e 20 61 | 20 73 69 6e 67 6c 65 20 |ile in a| single |
|00001950| 6e 75 77 65 62 20 66 69 | 6c 65 2e 20 54 68 69 73 |nuweb fi|le. This|
|00001960| 20 69 73 20 72 65 71 75 | 69 72 65 64 20 77 68 65 | is requ|ired whe|
|00001970| 6e 20 63 6f 6e 73 74 72 | 75 63 74 69 6e 67 0a 20 |n constr|ucting. |
|00001980| 20 70 72 6f 67 72 61 6d | 73 20 69 6e 20 61 20 63 | program|s in a c|
|00001990| 6f 6d 62 69 6e 61 74 69 | 6f 6e 20 6f 66 20 6c 61 |ombinati|on of la|
|000019a0| 6e 67 75 61 67 65 73 20 | 28 73 61 79 2c 20 46 6f |nguages |(say, Fo|
|000019b0| 72 74 72 61 6e 20 61 6e | 64 20 43 29 5c 40 40 2e |rtran an|d C)\@@.|
|000019c0| 20 49 74 27 73 20 61 6c | 73 6f 0a 20 20 61 6e 20 | It's al|so. an |
|000019d0| 61 64 76 61 6e 74 61 67 | 65 20 77 68 65 6e 20 63 |advantag|e when c|
|000019e0| 6f 6e 73 74 72 75 63 74 | 69 6e 67 20 76 65 72 79 |onstruct|ing very|
|000019f0| 20 6c 61 72 67 65 20 70 | 72 6f 67 72 61 6d 73 20 | large p|rograms |
|00001a00| 74 68 61 74 20 77 6f 75 | 6c 64 20 72 65 71 75 69 |that wou|ld requi|
|00001a10| 72 65 0a 20 20 61 20 6c | 6f 74 20 6f 66 20 63 6f |re. a l|ot of co|
|00001a20| 6d 70 69 6c 65 20 74 69 | 6d 65 2e 0a 5c 65 6e 64 |mpile ti|me..\end|
|00001a30| 7b 64 65 73 63 72 69 70 | 74 69 6f 6e 7d 0a 54 68 |{descrip|tion}.Th|
|00001a40| 69 73 20 6c 61 73 74 20 | 70 6f 69 6e 74 20 69 73 |is last |point is|
|00001a50| 20 76 65 72 79 20 69 6d | 70 6f 72 74 61 6e 74 2e | very im|portant.|
|00001a60| 20 42 79 20 61 6c 6c 6f | 77 69 6e 67 20 74 68 65 | By allo|wing the|
|00001a70| 20 63 72 65 61 74 69 6f | 6e 20 6f 66 0a 6d 75 6c | creatio|n of.mul|
|00001a80| 74 69 70 6c 65 20 6f 75 | 74 70 75 74 20 66 69 6c |tiple ou|tput fil|
|00001a90| 65 73 2c 20 77 65 20 61 | 76 6f 69 64 20 74 68 65 |es, we a|void the|
|00001aa0| 20 6e 65 65 64 20 66 6f | 72 20 6d 6f 6e 6f 6c 69 | need fo|r monoli|
|00001ab0| 74 68 69 63 20 70 72 6f | 67 72 61 6d 73 2e 0a 54 |thic pro|grams..T|
|00001ac0| 68 75 73 20 77 65 20 73 | 75 70 70 6f 72 74 20 74 |hus we s|upport t|
|00001ad0| 68 65 20 63 72 65 61 74 | 69 6f 6e 20 6f 66 20 76 |he creat|ion of v|
|00001ae0| 65 72 79 20 6c 61 72 67 | 65 20 70 72 6f 67 72 61 |ery larg|e progra|
|00001af0| 6d 73 20 62 79 20 67 72 | 6f 75 70 73 20 6f 66 0a |ms by gr|oups of.|
|00001b00| 70 65 6f 70 6c 65 2e 0a | 0a 41 20 66 75 72 74 68 |people..|.A furth|
|00001b10| 65 72 20 72 65 64 75 63 | 74 69 6f 6e 20 69 6e 20 |er reduc|tion in |
|00001b20| 63 6f 6d 70 69 6c 61 74 | 69 6f 6e 20 74 69 6d 65 |compilat|ion time|
|00001b30| 20 69 73 20 61 63 68 69 | 65 76 65 64 20 62 79 20 | is achi|eved by |
|00001b40| 66 69 72 73 74 0a 77 72 | 69 74 69 6e 67 20 65 61 |first.wr|iting ea|
|00001b50| 63 68 20 6f 75 74 70 75 | 74 20 66 69 6c 65 20 74 |ch outpu|t file t|
|00001b60| 6f 20 61 20 74 65 6d 70 | 6f 72 61 72 79 20 6c 6f |o a temp|orary lo|
|00001b70| 63 61 74 69 6f 6e 2c 20 | 74 68 65 6e 20 63 6f 6d |cation, |then com|
|00001b80| 70 61 72 69 6e 67 20 74 | 68 65 0a 74 65 6d 70 6f |paring t|he.tempo|
|00001b90| 72 61 72 79 20 66 69 6c | 65 20 77 69 74 68 20 74 |rary fil|e with t|
|00001ba0| 68 65 20 6f 6c 64 20 76 | 65 72 73 69 6f 6e 20 6f |he old v|ersion o|
|00001bb0| 66 20 74 68 65 20 66 69 | 6c 65 2e 20 49 66 20 74 |f the fi|le. If t|
|00001bc0| 68 65 72 65 20 69 73 20 | 6e 6f 0a 64 69 66 66 65 |here is |no.diffe|
|00001bd0| 72 65 6e 63 65 2c 20 74 | 68 65 20 74 65 6d 70 6f |rence, t|he tempo|
|00001be0| 72 61 72 79 20 66 69 6c | 65 20 63 61 6e 20 62 65 |rary fil|e can be|
|00001bf0| 20 64 65 6c 65 74 65 64 | 2e 20 49 66 20 74 68 65 | deleted|. If the|
|00001c00| 20 66 69 6c 65 73 20 64 | 69 66 66 65 72 2c 0a 74 | files d|iffer,.t|
|00001c10| 68 65 20 6f 6c 64 20 76 | 65 72 73 69 6f 6e 20 69 |he old v|ersion i|
|00001c20| 73 20 64 65 6c 65 74 65 | 64 20 61 6e 64 20 74 68 |s delete|d and th|
|00001c30| 65 20 74 65 6d 70 6f 72 | 61 72 79 20 66 69 6c 65 |e tempor|ary file|
|00001c40| 20 72 65 6e 61 6d 65 64 | 2e 20 54 68 69 73 0a 61 | renamed|. This.a|
|00001c50| 70 70 72 6f 61 63 68 20 | 77 6f 72 6b 73 20 77 65 |pproach |works we|
|00001c60| 6c 6c 20 69 6e 20 63 6f | 6d 62 69 6e 61 74 69 6f |ll in co|mbinatio|
|00001c70| 6e 20 77 69 74 68 20 5c | 76 65 72 62 7c 6d 61 6b |n with \|verb|mak|
|00001c80| 65 7c 20 28 6f 72 20 73 | 69 6d 69 6c 61 72 20 74 |e| (or s|imilar t|
|00001c90| 6f 6f 6c 73 29 2c 0a 73 | 69 6e 63 65 20 5c 76 65 |ools),.s|ince \ve|
|00001ca0| 72 62 7c 6d 61 6b 65 7c | 20 77 69 6c 6c 20 61 76 |rb|make|| will av|
|00001cb0| 6f 69 64 20 72 65 63 6f | 6d 70 69 6c 69 6e 67 20 |oid reco|mpiling |
|00001cc0| 75 6e 74 6f 75 63 68 65 | 64 20 6f 75 74 70 75 74 |untouche|d output|
|00001cd0| 20 66 69 6c 65 73 2e 0a | 0a 5c 73 75 62 73 65 63 | files..|.\subsec|
|00001ce0| 74 69 6f 6e 7b 4e 75 77 | 65 62 20 61 6e 64 20 48 |tion{Nuw|eb and H|
|00001cf0| 54 4d 4c 7d 0a 0a 49 6e | 20 61 64 64 69 74 69 6f |TML}..In| additio|
|00001d00| 6e 20 74 6f 20 70 72 6f | 64 75 63 69 6e 67 20 7b |n to pro|ducing {|
|00001d10| 5c 4c 61 54 65 58 7d 20 | 73 6f 75 72 63 65 2c 20 |\LaTeX} |source, |
|00001d20| 6e 75 77 65 62 20 63 61 | 6e 20 62 65 20 75 73 65 |nuweb ca|n be use|
|00001d30| 64 20 74 6f 0a 67 65 6e | 65 72 61 74 65 20 48 79 |d to.gen|erate Hy|
|00001d40| 70 65 72 54 65 78 74 20 | 4d 61 72 6b 75 70 20 4c |perText |Markup L|
|00001d50| 61 6e 67 75 61 67 65 20 | 28 48 54 4d 4c 29 2c 20 |anguage |(HTML), |
|00001d60| 74 68 65 20 6d 61 72 6b | 75 70 20 6c 61 6e 67 75 |the mark|up langu|
|00001d70| 61 67 65 20 75 73 65 64 | 20 62 79 0a 74 68 65 20 |age used| by.the |
|00001d80| 57 6f 72 6c 64 20 57 69 | 64 65 20 57 65 62 2e 20 |World Wi|de Web. |
|00001d90| 20 48 54 4d 4c 20 70 72 | 6f 76 69 64 65 73 20 68 | HTML pr|ovides h|
|00001da0| 79 70 65 72 74 65 78 74 | 20 6c 69 6e 6b 73 2e 20 |ypertext| links. |
|00001db0| 20 57 68 65 6e 20 61 20 | 48 54 4d 4c 0a 64 6f 63 | When a |HTML.doc|
|00001dc0| 75 6d 65 6e 74 20 69 73 | 20 76 69 65 77 65 64 20 |ument is| viewed |
|00001dd0| 6f 6e 6c 69 6e 65 2c 20 | 61 20 75 73 65 72 20 63 |online, |a user c|
|00001de0| 61 6e 20 6e 61 76 69 67 | 61 74 65 20 77 69 74 68 |an navig|ate with|
|00001df0| 69 6e 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 20 |in the d|ocument |
|00001e00| 62 79 0a 61 63 74 69 76 | 61 74 69 6e 67 20 74 68 |by.activ|ating th|
|00001e10| 65 20 6c 69 6e 6b 73 2e | 20 20 54 68 65 20 74 6f |e links.| The to|
|00001e20| 6f 6c 73 20 77 68 69 63 | 68 20 67 65 6e 65 72 61 |ols whic|h genera|
|00001e30| 74 65 20 48 54 4d 4c 20 | 61 75 74 6f 6d 61 74 69 |te HTML |automati|
|00001e40| 63 61 6c 6c 79 0a 70 72 | 6f 64 75 63 65 20 68 79 |cally.pr|oduce hy|
|00001e50| 70 65 72 74 65 78 74 20 | 6c 69 6e 6b 73 20 66 72 |pertext |links fr|
|00001e60| 6f 6d 20 61 20 6e 75 77 | 65 62 20 73 6f 75 72 63 |om a nuw|eb sourc|
|00001e70| 65 2e 0a 0a 0a 5c 73 65 | 63 74 69 6f 6e 7b 57 72 |e....\se|ction{Wr|
|00001e80| 69 74 69 6e 67 20 4e 75 | 77 65 62 7d 0a 0a 54 68 |iting Nu|web}..Th|
|00001e90| 65 20 62 75 6c 6b 20 6f | 66 20 61 20 6e 75 77 65 |e bulk o|f a nuwe|
|00001ea0| 62 20 66 69 6c 65 20 77 | 69 6c 6c 20 62 65 20 6f |b file w|ill be o|
|00001eb0| 72 64 69 6e 61 72 79 20 | 5c 4c 61 54 65 58 5c 40 |rdinary |\LaTeX\@|
|00001ec0| 40 2e 20 49 6e 20 66 61 | 63 74 2c 20 61 6e 79 0a |@. In fa|ct, any.|
|00001ed0| 7b 5c 4c 61 54 65 58 7d | 20 66 69 6c 65 20 63 61 |{\LaTeX}| file ca|
|00001ee0| 6e 20 73 65 72 76 65 20 | 61 73 20 69 6e 70 75 74 |n serve |as input|
|00001ef0| 20 74 6f 20 6e 75 77 65 | 62 20 61 6e 64 20 77 69 | to nuwe|b and wi|
|00001f00| 6c 6c 20 62 65 20 73 69 | 6d 70 6c 79 20 63 6f 70 |ll be si|mply cop|
|00001f10| 69 65 64 0a 74 68 72 6f | 75 67 68 20 75 6e 63 68 |ied.thro|ugh unch|
|00001f20| 61 6e 67 65 64 20 74 6f | 20 74 68 65 20 64 6f 63 |anged to| the doc|
|00001f30| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 69 6c 65 2d |umentati|on file-|
|00001f40| 2d 2d 75 6e 6c 65 73 73 | 20 61 20 6e 75 77 65 62 |--unless| a nuweb|
|00001f50| 20 63 6f 6d 6d 61 6e 64 | 0a 69 73 20 64 69 73 63 | command|.is disc|
|00001f60| 6f 76 65 72 65 64 2e 20 | 41 6c 6c 20 6e 75 77 65 |overed. |All nuwe|
|00001f70| 62 20 63 6f 6d 6d 61 6e | 64 73 20 62 65 67 69 6e |b comman|ds begin|
|00001f80| 20 77 69 74 68 20 61 6e | 20 60 60 61 74 2d 73 69 | with an| ``at-si|
|00001f90| 67 6e 27 27 0a 28 5c 76 | 65 72 62 7c 40 40 7c 29 |gn''.(\v|erb|@@|)|
|00001fa0| 2e 20 20 54 68 65 72 65 | 66 6f 72 65 2c 20 61 20 |. There|fore, a |
|00001fb0| 66 69 6c 65 20 77 69 74 | 68 6f 75 74 20 61 74 2d |file wit|hout at-|
|00001fc0| 73 69 67 6e 73 20 77 69 | 6c 6c 20 62 65 20 63 6f |signs wi|ll be co|
|00001fd0| 70 69 65 64 0a 75 6e 63 | 68 61 6e 67 65 64 2e 20 |pied.unc|hanged. |
|00001fe0| 20 4e 75 77 65 62 20 63 | 6f 6d 6d 61 6e 64 73 20 | Nuweb c|ommands |
|00001ff0| 61 72 65 20 75 73 65 64 | 20 74 6f 20 73 70 65 63 |are used| to spec|
|00002000| 69 66 79 20 7b 5c 65 6d | 20 6f 75 74 70 75 74 20 |ify {\em| output |
|00002010| 66 69 6c 65 73 2c 7d 0a | 64 65 66 69 6e 65 20 7b |files,}.|define {|
|00002020| 5c 65 6d 20 6d 61 63 72 | 6f 73 2c 7d 20 61 6e 64 |\em macr|os,} and|
|00002030| 20 64 65 6c 69 6d 69 74 | 20 7b 5c 65 6d 20 73 63 | delimit| {\em sc|
|00002040| 72 61 70 73 7d 2e 20 54 | 68 65 73 65 20 61 72 65 |raps}. T|hese are|
|00002050| 20 74 68 65 20 62 61 73 | 69 63 0a 66 65 61 74 75 | the bas|ic.featu|
|00002060| 72 65 73 20 6f 66 20 69 | 6e 74 65 72 65 73 74 20 |res of i|nterest |
|00002070| 74 6f 20 74 68 65 20 6e | 75 77 65 62 20 74 6f 6f |to the n|uweb too|
|00002080| 6c 2d 2d 2d 61 6c 6c 20 | 65 6c 73 65 20 69 73 20 |l---all |else is |
|00002090| 73 69 6d 70 6c 79 20 74 | 65 78 74 20 74 6f 20 62 |simply t|ext to b|
|000020a0| 65 0a 63 6f 70 69 65 64 | 20 74 6f 20 74 68 65 20 |e.copied| to the |
|000020b0| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 66 69 |document|ation fi|
|000020c0| 6c 65 2e 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |le...\su|bsection|
|000020d0| 7b 54 68 65 20 4d 61 6a | 6f 72 20 43 6f 6d 6d 61 |{The Maj|or Comma|
|000020e0| 6e 64 73 7d 0a 0a 46 69 | 6c 65 73 20 61 6e 64 20 |nds}..Fi|les and |
|000020f0| 6d 61 63 72 6f 73 20 61 | 72 65 20 64 65 66 69 6e |macros a|re defin|
|00002100| 65 64 20 77 69 74 68 20 | 74 68 65 20 66 6f 6c 6c |ed with |the foll|
|00002110| 6f 77 69 6e 67 20 63 6f | 6d 6d 61 6e 64 73 3a 0a |owing co|mmands:.|
|00002120| 5c 62 65 67 69 6e 7b 64 | 65 73 63 72 69 70 74 69 |\begin{d|escripti|
|00002130| 6f 6e 7d 0a 5c 69 74 65 | 6d 5b 7b 5c 74 74 20 40 |on}.\ite|m[{\tt @|
|00002140| 40 6f 7d 20 7b 5c 65 6d | 20 66 69 6c 65 2d 6e 61 |@o} {\em| file-na|
|00002150| 6d 65 20 66 6c 61 67 73 | 20 73 63 72 61 70 5c 2f |me flags| scrap\/|
|00002160| 7d 5d 20 4f 75 74 70 75 | 74 20 61 20 66 69 6c 65 |}] Outpu|t a file|
|00002170| 2e 20 54 68 65 20 66 69 | 6c 65 20 6e 61 6d 65 20 |. The fi|le name |
|00002180| 69 73 0a 20 20 74 65 72 | 6d 69 6e 61 74 65 64 20 |is. ter|minated |
|00002190| 62 79 20 77 68 69 74 65 | 73 70 61 63 65 2e 0a 5c |by white|space..\|
|000021a0| 69 74 65 6d 5b 7b 5c 74 | 74 20 40 40 64 7d 20 7b |item[{\t|t @@d} {|
|000021b0| 5c 65 6d 20 6d 61 63 72 | 6f 2d 6e 61 6d 65 20 73 |\em macr|o-name s|
|000021c0| 63 72 61 70 5c 2f 7d 5d | 20 44 65 66 69 6e 65 20 |crap\/}]| Define |
|000021d0| 61 20 6d 61 63 72 6f 2e | 20 54 68 65 20 6d 61 63 |a macro.| The mac|
|000021e0| 72 6f 20 6e 61 6d 65 0a | 20 20 69 73 20 74 65 72 |ro name.| is ter|
|000021f0| 6d 69 6e 61 74 65 64 20 | 62 79 20 61 20 72 65 74 |minated |by a ret|
|00002200| 75 72 6e 20 6f 72 20 74 | 68 65 20 62 65 67 69 6e |urn or t|he begin|
|00002210| 6e 69 6e 67 20 6f 66 20 | 61 20 73 63 72 61 70 2e |ning of |a scrap.|
|00002220| 0a 5c 65 6e 64 7b 64 65 | 73 63 72 69 70 74 69 6f |.\end{de|scriptio|
|00002230| 6e 7d 0a 41 20 73 70 65 | 63 69 66 69 63 20 66 69 |n}.A spe|cific fi|
|00002240| 6c 65 20 6d 61 79 20 62 | 65 20 73 70 65 63 69 66 |le may b|e specif|
|00002250| 69 65 64 20 73 65 76 65 | 72 61 6c 20 74 69 6d 65 |ied seve|ral time|
|00002260| 73 2c 20 77 69 74 68 20 | 65 61 63 68 20 64 65 66 |s, with |each def|
|00002270| 69 6e 69 74 69 6f 6e 0a | 62 65 69 6e 67 20 77 72 |inition.|being wr|
|00002280| 69 74 74 65 6e 20 6f 75 | 74 2c 20 6f 6e 65 20 61 |itten ou|t, one a|
|00002290| 66 74 65 72 20 74 68 65 | 20 6f 74 68 65 72 2c 20 |fter the| other, |
|000022a0| 69 6e 20 74 68 65 20 6f | 72 64 65 72 20 74 68 65 |in the o|rder the|
|000022b0| 79 20 61 70 70 65 61 72 | 2e 0a 54 68 65 20 64 65 |y appear|..The de|
|000022c0| 66 69 6e 69 74 69 6f 6e | 73 20 6f 66 20 6d 61 63 |finition|s of mac|
|000022d0| 72 6f 73 20 6d 61 79 20 | 62 65 20 73 69 6d 69 6c |ros may |be simil|
|000022e0| 61 72 6c 79 20 64 69 76 | 69 64 65 64 2e 0a 0a 5c |arly div|ided...\|
|000022f0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 7b 53 63 |subsubse|ction{Sc|
|00002300| 72 61 70 73 7d 0a 0a 53 | 63 72 61 70 73 20 68 61 |raps}..S|craps ha|
|00002310| 76 65 20 73 70 65 63 69 | 66 69 63 20 62 65 67 69 |ve speci|fic begi|
|00002320| 6e 20 6d 61 72 6b 65 72 | 73 20 61 6e 64 20 65 6e |n marker|s and en|
|00002330| 64 20 6d 61 72 6b 65 72 | 73 20 74 6f 20 61 6c 6c |d marker|s to all|
|00002340| 6f 77 20 70 72 65 63 69 | 73 65 0a 63 6f 6e 74 72 |ow preci|se.contr|
|00002350| 6f 6c 20 6f 76 65 72 20 | 74 68 65 20 63 6f 6e 74 |ol over |the cont|
|00002360| 65 6e 74 73 20 61 6e 64 | 20 6c 61 79 6f 75 74 2e |ents and| layout.|
|00002370| 20 4e 6f 74 65 20 74 68 | 61 74 20 61 6e 79 20 61 | Note th|at any a|
|00002380| 6d 6f 75 6e 74 20 6f 66 | 0a 77 68 69 74 65 73 70 |mount of|.whitesp|
|00002390| 61 63 65 20 28 69 6e 63 | 6c 75 64 69 6e 67 20 63 |ace (inc|luding c|
|000023a0| 61 72 72 69 61 67 65 20 | 72 65 74 75 72 6e 73 29 |arriage |returns)|
|000023b0| 20 6d 61 79 20 61 70 70 | 65 61 72 20 62 65 74 77 | may app|ear betw|
|000023c0| 65 65 6e 20 61 20 6e 61 | 6d 65 20 61 6e 64 0a 74 |een a na|me and.t|
|000023d0| 68 65 20 62 65 67 69 6e | 6e 69 6e 67 20 6f 66 20 |he begin|ning of |
|000023e0| 61 20 73 63 72 61 70 2e | 0a 5c 62 65 67 69 6e 7b |a scrap.|.\begin{|
|000023f0| 64 65 73 63 72 69 70 74 | 69 6f 6e 7d 0a 5c 69 74 |descript|ion}.\it|
|00002400| 65 6d 5b 5c 74 74 20 40 | 40 5c 7b 7b 5c 65 6d 20 |em[\tt @|@\{{\em |
|00002410| 61 6e 79 74 68 69 6e 67 | 5c 2f 7d 40 40 5c 7d 5d |anything|\/}@@\}]|
|00002420| 20 77 68 65 72 65 20 74 | 68 65 20 73 63 72 61 70 | where t|he scrap|
|00002430| 20 62 6f 64 79 20 69 6e | 63 6c 75 64 65 73 20 65 | body in|cludes e|
|00002440| 76 65 72 79 0a 20 20 63 | 68 61 72 61 63 74 65 72 |very. c|haracter|
|00002450| 20 69 6e 20 7b 5c 65 6d | 20 61 6e 79 74 68 69 6e | in {\em| anythin|
|00002460| 67 5c 2f 7d 2d 2d 2d 61 | 6c 6c 20 74 68 65 20 62 |g\/}---a|ll the b|
|00002470| 6c 61 6e 6b 73 2c 20 61 | 6c 6c 20 74 68 65 20 74 |lanks, a|ll the t|
|00002480| 61 62 73 2c 20 61 6c 6c | 20 74 68 65 0a 20 20 63 |abs, all| the. c|
|00002490| 61 72 72 69 61 67 65 20 | 72 65 74 75 72 6e 73 2e |arriage |returns.|
|000024a0| 0a 5c 65 6e 64 7b 64 65 | 73 63 72 69 70 74 69 6f |.\end{de|scriptio|
|000024b0| 6e 7d 0a 49 6e 73 69 64 | 65 20 61 20 73 63 72 61 |n}.Insid|e a scra|
|000024c0| 70 2c 20 77 65 20 6d 61 | 79 20 69 6e 76 6f 6b 65 |p, we ma|y invoke|
|000024d0| 20 61 20 6d 61 63 72 6f | 2e 0a 5c 62 65 67 69 6e | a macro|..\begin|
|000024e0| 7b 64 65 73 63 72 69 70 | 74 69 6f 6e 7d 0a 5c 69 |{descrip|tion}.\i|
|000024f0| 74 65 6d 5b 5c 74 74 20 | 40 40 3c 7b 5c 65 6d 20 |tem[\tt |@@<{\em |
|00002500| 6d 61 63 72 6f 2d 6e 61 | 6d 65 5c 2f 7d 40 40 3e |macro-na|me\/}@@>|
|00002510| 5d 20 43 61 75 73 65 73 | 20 74 68 65 20 6d 61 63 |] Causes| the mac|
|00002520| 72 6f 0a 20 20 7b 5c 65 | 6d 20 6d 61 63 72 6f 2d |ro. {\e|m macro-|
|00002530| 6e 61 6d 65 5c 2f 7d 20 | 74 6f 20 62 65 20 65 78 |name\/} |to be ex|
|00002540| 70 61 6e 64 65 64 20 69 | 6e 6c 69 6e 65 20 61 73 |panded i|nline as|
|00002550| 20 74 68 65 20 63 6f 64 | 65 20 69 73 20 77 72 69 | the cod|e is wri|
|00002560| 74 74 65 6e 20 6f 75 74 | 0a 20 20 74 6f 20 61 20 |tten out|. to a |
|00002570| 66 69 6c 65 2e 20 49 74 | 20 69 73 20 61 6e 20 65 |file. It| is an e|
|00002580| 72 72 6f 72 20 74 6f 20 | 73 70 65 63 69 66 79 20 |rror to |specify |
|00002590| 72 65 63 75 72 73 69 76 | 65 20 6d 61 63 72 6f 20 |recursiv|e macro |
|000025a0| 69 6e 76 6f 63 61 74 69 | 6f 6e 73 2e 0a 5c 65 6e |invocati|ons..\en|
|000025b0| 64 7b 64 65 73 63 72 69 | 70 74 69 6f 6e 7d 0a 4e |d{descri|ption}.N|
|000025c0| 6f 74 65 20 74 68 61 74 | 20 6d 61 63 72 6f 20 6e |ote that| macro n|
|000025d0| 61 6d 65 73 20 6d 61 79 | 20 62 65 20 61 62 62 72 |ames may| be abbr|
|000025e0| 65 76 69 61 74 65 64 2c | 20 65 69 74 68 65 72 20 |eviated,| either |
|000025f0| 64 75 72 69 6e 67 20 69 | 6e 76 6f 63 61 74 69 6f |during i|nvocatio|
|00002600| 6e 20 6f 72 0a 64 65 66 | 69 6e 69 74 69 6f 6e 2e |n or.def|inition.|
|00002610| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 69 74 | For exa|mple, it|
|00002620| 20 77 6f 75 6c 64 20 62 | 65 20 76 65 72 79 20 74 | would b|e very t|
|00002630| 65 64 69 6f 75 73 20 74 | 6f 20 68 61 76 65 20 74 |edious t|o have t|
|00002640| 6f 0a 72 65 70 65 61 74 | 65 64 6c 79 20 74 79 70 |o.repeat|edly typ|
|00002650| 65 20 74 68 65 20 6d 61 | 63 72 6f 20 6e 61 6d 65 |e the ma|cro name|
|00002660| 0a 5c 62 65 67 69 6e 7b | 71 75 6f 74 65 7d 0a 5c |.\begin{|quote}.\|
|00002670| 76 65 72 62 7c 40 40 64 | 20 43 68 65 63 6b 20 66 |verb|@@d| Check f|
|00002680| 6f 72 20 74 65 72 6d 69 | 6e 61 74 69 6e 67 20 61 |or termi|nating a|
|00002690| 74 2d 73 65 71 75 65 6e | 63 65 20 61 6e 64 20 72 |t-sequen|ce and r|
|000026a0| 65 74 75 72 6e 20 6e 61 | 6d 65 20 69 66 20 66 6f |eturn na|me if fo|
|000026b0| 75 6e 64 7c 0a 5c 65 6e | 64 7b 71 75 6f 74 65 7d |und|.\en|d{quote}|
|000026c0| 0a 54 68 65 72 65 66 6f | 72 65 2c 20 77 65 20 70 |.Therefo|re, we p|
|000026d0| 72 6f 76 69 64 65 20 61 | 20 6d 65 63 68 61 6e 69 |rovide a| mechani|
|000026e0| 73 6d 20 28 73 74 6f 6c | 65 6e 20 66 72 6f 6d 20 |sm (stol|en from |
|000026f0| 4b 6e 75 74 68 29 20 6f | 66 20 69 6e 64 69 63 61 |Knuth) o|f indica|
|00002700| 74 69 6e 67 0a 61 62 62 | 72 65 76 69 61 74 65 64 |ting.abb|reviated|
|00002710| 20 6e 61 6d 65 73 2e 0a | 5c 62 65 67 69 6e 7b 71 | names..|\begin{q|
|00002720| 75 6f 74 65 7d 0a 5c 76 | 65 72 62 7c 40 40 64 20 |uote}.\v|erb|@@d |
|00002730| 43 68 65 63 6b 20 66 6f | 72 20 74 65 72 6d 69 6e |Check fo|r termin|
|00002740| 61 74 69 6e 67 2e 2e 2e | 7c 0a 5c 65 6e 64 7b 71 |ating...||.\end{q|
|00002750| 75 6f 74 65 7d 0a 42 61 | 73 69 63 61 6c 6c 79 2c |uote}.Ba|sically,|
|00002760| 20 74 68 65 20 70 72 6f | 67 72 61 6d 6d 65 72 20 | the pro|grammer |
|00002770| 6e 65 65 64 73 20 6f 6e | 6c 79 20 74 79 70 65 20 |needs on|ly type |
|00002780| 65 6e 6f 75 67 68 20 63 | 68 61 72 61 63 74 65 72 |enough c|haracter|
|00002790| 73 20 74 6f 20 75 6e 69 | 71 75 65 6c 79 0a 69 64 |s to uni|quely.id|
|000027a0| 65 6e 74 69 66 79 20 74 | 68 65 20 6d 61 63 72 6f |entify t|he macro|
|000027b0| 20 6e 61 6d 65 2c 20 66 | 6f 6c 6c 6f 77 65 64 20 | name, f|ollowed |
|000027c0| 62 79 20 74 68 72 65 65 | 20 70 65 72 69 6f 64 73 |by three| periods|
|000027d0| 2e 20 41 6e 20 61 62 62 | 72 65 76 69 61 74 69 6f |. An abb|reviatio|
|000027e0| 6e 0a 6d 61 79 20 65 76 | 65 6e 20 6f 63 63 75 72 |n.may ev|en occur|
|000027f0| 20 62 65 66 6f 72 65 20 | 74 68 65 20 66 75 6c 6c | before |the full|
|00002800| 20 76 65 72 73 69 6f 6e | 3b 20 6e 75 77 65 62 20 | version|; nuweb |
|00002810| 73 69 6d 70 6c 79 20 70 | 72 65 73 65 72 76 65 73 |simply p|reserves|
|00002820| 20 74 68 65 0a 6c 6f 6e | 67 65 73 74 20 76 65 72 | the.lon|gest ver|
|00002830| 73 69 6f 6e 20 6f 66 20 | 61 20 6d 61 63 72 6f 20 |sion of |a macro |
|00002840| 6e 61 6d 65 2e 20 4e 6f | 74 65 20 61 6c 73 6f 20 |name. No|te also |
|00002850| 74 68 61 74 20 62 6c 61 | 6e 6b 73 20 61 6e 64 20 |that bla|nks and |
|00002860| 74 61 62 73 20 61 72 65 | 0a 69 6e 73 69 67 6e 69 |tabs are|.insigni|
|00002870| 66 69 63 61 6e 74 20 69 | 6e 20 61 20 6d 61 63 72 |ficant i|n a macr|
|00002880| 6f 20 6e 61 6d 65 3b 20 | 61 6e 79 20 73 74 72 69 |o name; |any stri|
|00002890| 6e 67 20 6f 66 20 74 68 | 65 6d 20 61 72 65 20 72 |ng of th|em are r|
|000028a0| 65 70 6c 61 63 65 64 20 | 62 79 20 61 0a 73 69 6e |eplaced |by a.sin|
|000028b0| 67 6c 65 20 62 6c 61 6e | 6b 2e 0a 0a 57 68 65 6e |gle blan|k...When|
|000028c0| 20 73 63 72 61 70 73 20 | 61 72 65 20 77 72 69 74 | scraps |are writ|
|000028d0| 74 65 6e 20 74 6f 20 61 | 20 70 72 6f 67 72 61 6d |ten to a| program|
|000028e0| 20 66 69 6c 65 20 6f 72 | 20 61 20 64 6f 63 75 6d | file or| a docum|
|000028f0| 65 6e 74 61 74 69 6f 6e | 20 66 69 6c 65 2c 20 74 |entation| file, t|
|00002900| 61 62 73 20 61 72 65 0a | 65 78 70 61 6e 64 65 64 |abs are.|expanded|
|00002910| 20 69 6e 74 6f 20 73 70 | 61 63 65 73 20 62 79 20 | into sp|aces by |
|00002920| 64 65 66 61 75 6c 74 2e | 20 43 75 72 72 65 6e 74 |default.| Current|
|00002930| 6c 79 2c 20 49 20 61 73 | 73 75 6d 65 20 74 61 62 |ly, I as|sume tab|
|00002940| 20 73 74 6f 70 73 20 61 | 72 65 20 73 65 74 0a 65 | stops a|re set.e|
|00002950| 76 65 72 79 20 65 69 67 | 68 74 20 63 68 61 72 61 |very eig|ht chara|
|00002960| 63 74 65 72 73 2e 20 46 | 75 72 74 68 65 72 6d 6f |cters. F|urthermo|
|00002970| 72 65 2c 20 77 68 65 6e | 20 61 20 6d 61 63 72 6f |re, when| a macro|
|00002980| 20 69 73 20 65 78 70 61 | 6e 64 65 64 20 69 6e 20 | is expa|nded in |
|00002990| 61 20 73 63 72 61 70 2c | 0a 74 68 65 20 62 6f 64 |a scrap,|.the bod|
|000029a0| 79 20 6f 66 20 74 68 65 | 20 6d 61 63 72 6f 20 69 |y of the| macro i|
|000029b0| 73 20 69 6e 64 65 6e 74 | 65 64 20 74 6f 20 6d 61 |s indent|ed to ma|
|000029c0| 74 63 68 20 74 68 65 20 | 69 6e 64 65 6e 74 61 74 |tch the |indentat|
|000029d0| 69 6f 6e 20 6f 66 20 74 | 68 65 0a 6d 61 63 72 6f |ion of t|he.macro|
|000029e0| 20 69 6e 76 6f 63 61 74 | 69 6f 6e 2e 20 54 68 65 | invocat|ion. The|
|000029f0| 72 65 66 6f 72 65 2c 20 | 63 61 72 65 20 6d 75 73 |refore, |care mus|
|00002a00| 74 20 62 65 20 74 61 6b | 65 6e 20 77 69 74 68 20 |t be tak|en with |
|00002a10| 6c 61 6e 67 75 61 67 65 | 73 0a 28 7b 5c 65 6d 20 |language|s.({\em |
|00002a20| 65 2e 67 2e 2c 7d 20 46 | 6f 72 74 72 61 6e 29 20 |e.g.,} F|ortran) |
|00002a30| 74 68 61 74 20 61 72 65 | 20 73 65 6e 73 69 74 69 |that are| sensiti|
|00002a40| 76 65 20 74 6f 20 69 6e | 64 65 6e 74 61 74 69 6f |ve to in|dentatio|
|00002a50| 6e 2e 0a 54 68 65 73 65 | 20 64 65 66 61 75 6c 74 |n..These| default|
|00002a60| 20 62 65 68 61 76 69 6f | 72 73 20 6d 61 79 20 62 | behavio|rs may b|
|00002a70| 65 20 63 68 61 6e 67 65 | 64 20 66 6f 72 20 65 61 |e change|d for ea|
|00002a80| 63 68 20 6f 75 74 70 75 | 74 20 66 69 6c 65 20 28 |ch outpu|t file (|
|00002a90| 73 65 65 0a 62 65 6c 6f | 77 29 2e 0a 0a 5c 73 75 |see.belo|w)...\su|
|00002aa0| 62 73 75 62 73 65 63 74 | 69 6f 6e 7b 46 6c 61 67 |bsubsect|ion{Flag|
|00002ab0| 73 7d 0a 0a 57 68 65 6e | 20 64 65 66 69 6e 69 6e |s}..When| definin|
|00002ac0| 67 20 61 6e 20 6f 75 74 | 70 75 74 20 66 69 6c 65 |g an out|put file|
|00002ad0| 2c 20 74 68 65 20 70 72 | 6f 67 72 61 6d 6d 65 72 |, the pr|ogrammer|
|00002ae0| 20 68 61 73 20 74 68 65 | 20 6f 70 74 69 6f 6e 20 | has the| option |
|00002af0| 6f 66 20 75 73 69 6e 67 | 0a 66 6c 61 67 73 20 74 |of using|.flags t|
|00002b00| 6f 20 63 6f 6e 74 72 6f | 6c 20 6f 75 74 70 75 74 |o contro|l output|
|00002b10| 20 6f 66 20 61 20 70 61 | 72 74 69 63 75 6c 61 72 | of a pa|rticular|
|00002b20| 20 66 69 6c 65 2e 20 54 | 68 65 20 66 6c 61 67 73 | file. T|he flags|
|00002b30| 20 61 72 65 20 69 6e 74 | 65 6e 64 65 64 0a 74 6f | are int|ended.to|
|00002b40| 20 6d 61 6b 65 20 6c 69 | 66 65 20 61 20 6c 69 74 | make li|fe a lit|
|00002b50| 74 6c 65 20 65 61 73 69 | 65 72 20 66 6f 72 20 70 |tle easi|er for p|
|00002b60| 72 6f 67 72 61 6d 6d 65 | 72 73 20 75 73 69 6e 67 |rogramme|rs using|
|00002b70| 20 63 65 72 74 61 69 6e | 20 6c 61 6e 67 75 61 67 | certain| languag|
|00002b80| 65 73 2e 0a 54 68 65 79 | 20 69 6e 74 72 6f 64 75 |es..They| introdu|
|00002b90| 63 65 20 6c 69 74 74 6c | 65 20 6c 61 6e 67 75 61 |ce littl|e langua|
|00002ba0| 67 65 20 64 65 70 65 6e | 64 65 6e 63 65 73 3b 20 |ge depen|dences; |
|00002bb0| 68 6f 77 65 76 65 72 2c | 20 74 68 65 79 20 64 6f |however,| they do|
|00002bc0| 20 73 6f 20 6f 6e 6c 79 | 0a 66 6f 72 20 61 20 70 | so only|.for a p|
|00002bd0| 61 72 74 69 63 75 6c 61 | 72 20 66 69 6c 65 2e 20 |articula|r file. |
|00002be0| 54 68 75 73 20 69 74 20 | 69 73 20 73 74 69 6c 6c |Thus it |is still|
|00002bf0| 20 65 61 73 79 20 74 6f | 20 6d 69 78 20 6c 61 6e | easy to| mix lan|
|00002c00| 67 75 61 67 65 73 20 77 | 69 74 68 69 6e 20 61 0a |guages w|ithin a.|
|00002c10| 73 69 6e 67 6c 65 20 64 | 6f 63 75 6d 65 6e 74 2e |single d|ocument.|
|00002c20| 20 54 68 65 72 65 20 61 | 72 65 20 74 68 72 65 65 | There a|re three|
|00002c30| 20 60 60 70 65 72 2d 66 | 69 6c 65 27 27 20 66 6c | ``per-f|ile'' fl|
|00002c40| 61 67 73 3a 0a 5c 62 65 | 67 69 6e 7b 64 65 73 63 |ags:.\be|gin{desc|
|00002c50| 72 69 70 74 69 6f 6e 7d | 0a 5c 69 74 65 6d 5b 5c |ription}|.\item[\|
|00002c60| 74 74 20 2d 64 5d 20 46 | 6f 72 63 65 73 20 74 68 |tt -d] F|orces th|
|00002c70| 65 20 63 72 65 61 74 69 | 6f 6e 20 6f 66 20 5c 76 |e creati|on of \v|
|00002c80| 65 72 62 7c 23 6c 69 6e | 65 7c 20 64 69 72 65 63 |erb|#lin|e| direc|
|00002c90| 74 69 76 65 73 20 69 6e | 20 74 68 65 0a 20 20 6f |tives in| the. o|
|00002ca0| 75 74 70 75 74 20 66 69 | 6c 65 2e 20 54 68 65 73 |utput fi|le. Thes|
|00002cb0| 65 20 61 72 65 20 75 73 | 65 66 75 6c 20 77 69 74 |e are us|eful wit|
|00002cc0| 68 20 43 20 28 61 6e 64 | 20 73 6f 6d 65 74 69 6d |h C (and| sometim|
|00002cd0| 65 73 20 43 2b 2b 20 61 | 6e 64 20 46 6f 72 74 72 |es C++ a|nd Fortr|
|00002ce0| 61 6e 29 20 6f 6e 0a 20 | 20 6d 61 6e 79 20 55 4e |an) on. | many UN|
|00002cf0| 49 58 20 73 79 73 74 65 | 6d 73 20 73 69 6e 63 65 |IX syste|ms since|
|00002d00| 20 74 68 65 79 20 63 61 | 75 73 65 20 74 68 65 20 | they ca|use the |
|00002d10| 63 6f 6d 70 69 6c 65 72 | 27 73 20 65 72 72 6f 72 |compiler|'s error|
|00002d20| 20 6d 65 73 73 61 67 65 | 73 20 74 6f 0a 20 20 72 | message|s to. r|
|00002d30| 65 66 65 72 20 74 6f 20 | 74 68 65 20 77 65 62 20 |efer to |the web |
|00002d40| 66 69 6c 65 20 72 61 74 | 68 65 72 20 74 68 61 6e |file rat|her than|
|00002d50| 20 74 68 65 20 6f 75 74 | 70 75 74 20 66 69 6c 65 | the out|put file|
|00002d60| 2e 20 53 69 6d 69 6c 61 | 72 6c 79 2c 20 74 68 65 |. Simila|rly, the|
|00002d70| 79 0a 20 20 61 6c 6c 6f | 77 20 73 6f 75 72 63 65 |y. allo|w source|
|00002d80| 20 64 65 62 75 67 67 69 | 6e 67 20 69 6e 20 74 65 | debuggi|ng in te|
|00002d90| 72 6d 73 20 6f 66 20 74 | 68 65 20 77 65 62 20 66 |rms of t|he web f|
|00002da0| 69 6c 65 2e 0a 5c 69 74 | 65 6d 5b 5c 74 74 20 2d |ile..\it|em[\tt -|
|00002db0| 69 5d 20 53 75 70 70 72 | 65 73 73 65 73 20 74 68 |i] Suppr|esses th|
|00002dc0| 65 20 69 6e 64 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |e indent|ation of|
|00002dd0| 20 6d 61 63 72 6f 73 2e | 20 54 68 61 74 20 69 73 | macros.| That is|
|00002de0| 2c 20 77 68 65 6e 20 61 | 0a 20 20 6d 61 63 72 6f |, when a|. macro|
|00002df0| 20 69 73 20 65 78 70 61 | 6e 64 65 64 20 69 6e 20 | is expa|nded in |
|00002e00| 61 20 73 63 72 61 70 2c | 20 69 74 20 77 69 6c 6c |a scrap,| it will|
|00002e10| 20 7b 5c 65 6d 20 6e 6f | 74 5c 2f 7d 20 62 65 20 | {\em no|t\/} be |
|00002e20| 69 6e 64 65 6e 74 65 64 | 20 74 6f 0a 20 20 6d 61 |indented| to. ma|
|00002e30| 74 63 68 20 74 68 65 20 | 69 6e 64 65 6e 74 61 74 |tch the |indentat|
|00002e40| 69 6f 6e 20 6f 66 20 74 | 68 65 20 6d 61 63 72 6f |ion of t|he macro|
|00002e50| 20 69 6e 76 6f 63 61 74 | 69 6f 6e 2e 20 54 68 69 | invocat|ion. Thi|
|00002e60| 73 20 66 6c 61 67 20 77 | 6f 75 6c 64 20 73 65 65 |s flag w|ould see|
|00002e70| 6d 0a 20 20 6d 6f 73 74 | 20 75 73 65 66 75 6c 20 |m. most| useful |
|00002e80| 66 6f 72 20 46 6f 72 74 | 72 61 6e 20 70 72 6f 67 |for Fort|ran prog|
|00002e90| 72 61 6d 6d 65 72 73 2e | 0a 5c 69 74 65 6d 5b 5c |rammers.|.\item[\|
|00002ea0| 74 74 20 2d 74 5d 20 53 | 75 70 70 72 65 73 73 65 |tt -t] S|uppresse|
|00002eb0| 73 20 65 78 70 61 6e 73 | 69 6f 6e 20 6f 66 20 74 |s expans|ion of t|
|00002ec0| 61 62 73 20 69 6e 20 74 | 68 65 20 6f 75 74 70 75 |abs in t|he outpu|
|00002ed0| 74 20 66 69 6c 65 2e 20 | 54 68 69 73 0a 20 20 66 |t file. |This. f|
|00002ee0| 65 61 74 75 72 65 20 73 | 65 65 6d 73 20 69 6d 70 |eature s|eems imp|
|00002ef0| 6f 72 74 61 6e 74 20 77 | 68 65 6e 20 67 65 6e 65 |ortant w|hen gene|
|00002f00| 72 61 74 69 6e 67 20 5c | 76 65 72 62 7c 6d 61 6b |rating \|verb|mak|
|00002f10| 65 7c 20 66 69 6c 65 73 | 2e 0a 5c 65 6e 64 7b 64 |e| files|..\end{d|
|00002f20| 65 73 63 72 69 70 74 69 | 6f 6e 7d 0a 0a 0a 5c 73 |escripti|on}...\s|
|00002f30| 75 62 73 65 63 74 69 6f | 6e 7b 54 68 65 20 4d 69 |ubsectio|n{The Mi|
|00002f40| 6e 6f 72 20 43 6f 6d 6d | 61 6e 64 73 7d 0a 0a 57 |nor Comm|ands}..W|
|00002f50| 65 20 68 61 76 65 20 74 | 77 6f 20 76 65 72 79 20 |e have t|wo very |
|00002f60| 6c 6f 77 2d 6c 65 76 65 | 6c 20 75 74 69 6c 69 74 |low-leve|l utilit|
|00002f70| 79 20 63 6f 6d 6d 61 6e | 64 73 20 74 68 61 74 20 |y comman|ds that |
|00002f80| 6d 61 79 20 61 70 70 65 | 61 72 20 61 6e 79 77 68 |may appe|ar anywh|
|00002f90| 65 72 65 0a 69 6e 20 74 | 68 65 20 77 65 62 20 66 |ere.in t|he web f|
|00002fa0| 69 6c 65 2e 0a 5c 62 65 | 67 69 6e 7b 64 65 73 63 |ile..\be|gin{desc|
|00002fb0| 72 69 70 74 69 6f 6e 7d | 0a 5c 69 74 65 6d 5b 5c |ription}|.\item[\|
|00002fc0| 74 74 20 40 40 40 40 5d | 20 43 61 75 73 65 73 20 |tt @@@@]| Causes |
|00002fd0| 61 20 73 69 6e 67 6c 65 | 20 60 60 61 74 20 73 69 |a single| ``at si|
|00002fe0| 67 6e 27 27 20 74 6f 20 | 62 65 20 63 6f 70 69 65 |gn'' to |be copie|
|00002ff0| 64 20 69 6e 74 6f 20 74 | 68 65 20 6f 75 74 70 75 |d into t|he outpu|
|00003000| 74 2e 0a 5c 69 74 65 6d | 5b 5c 74 74 20 40 40 69 |t..\item|[\tt @@i|
|00003010| 20 7b 5c 65 6d 20 66 69 | 6c 65 2d 6e 61 6d 65 5c | {\em fi|le-name\|
|00003020| 2f 7d 5d 20 49 6e 63 6c | 75 64 65 73 20 61 20 66 |/}] Incl|udes a f|
|00003030| 69 6c 65 2e 20 49 6e 63 | 6c 75 64 65 73 20 6d 61 |ile. Inc|ludes ma|
|00003040| 79 20 62 65 0a 20 20 6e | 65 73 74 65 64 2c 20 74 |y be. n|ested, t|
|00003050| 68 6f 75 67 68 20 74 68 | 65 72 65 20 69 73 20 63 |hough th|ere is c|
|00003060| 75 72 72 65 6e 74 6c 79 | 20 61 20 6c 69 6d 69 74 |urrently| a limit|
|00003070| 20 6f 66 20 31 30 7e 6c | 65 76 65 6c 73 2e 20 54 | of 10~l|evels. T|
|00003080| 68 65 20 66 69 6c 65 20 | 6e 61 6d 65 0a 20 20 73 |he file |name. s|
|00003090| 68 6f 75 6c 64 20 62 65 | 20 63 6f 6d 70 6c 65 74 |hould be| complet|
|000030a0| 65 20 28 6e 6f 20 65 78 | 74 65 6e 73 69 6f 6e 20 |e (no ex|tension |
|000030b0| 77 69 6c 6c 20 62 65 20 | 61 70 70 65 6e 64 65 64 |will be |appended|
|000030c0| 29 20 61 6e 64 20 73 68 | 6f 75 6c 64 20 62 65 0a |) and sh|ould be.|
|000030d0| 20 20 74 65 72 6d 69 6e | 61 74 65 64 20 62 79 20 | termin|ated by |
|000030e0| 61 20 63 61 72 72 69 61 | 67 65 20 72 65 74 75 72 |a carria|ge retur|
|000030f0| 6e 2e 0a 5c 65 6e 64 7b | 64 65 73 63 72 69 70 74 |n..\end{|descript|
|00003100| 69 6f 6e 7d 0a 46 69 6e | 61 6c 6c 79 2c 20 74 68 |ion}.Fin|ally, th|
|00003110| 65 72 65 20 61 72 65 20 | 74 68 72 65 65 20 63 6f |ere are |three co|
|00003120| 6d 6d 61 6e 64 73 20 75 | 73 65 64 20 74 6f 20 63 |mmands u|sed to c|
|00003130| 72 65 61 74 65 20 69 6e | 64 65 78 65 73 20 74 6f |reate in|dexes to|
|00003140| 20 74 68 65 20 6d 61 63 | 72 6f 0a 6e 61 6d 65 73 | the mac|ro.names|
|00003150| 2c 20 66 69 6c 65 20 64 | 65 66 69 6e 69 74 69 6f |, file d|efinitio|
|00003160| 6e 73 2c 20 61 6e 64 20 | 75 73 65 72 2d 73 70 65 |ns, and |user-spe|
|00003170| 63 69 66 69 65 64 20 69 | 64 65 6e 74 69 66 69 65 |cified i|dentifie|
|00003180| 72 73 2e 0a 5c 62 65 67 | 69 6e 7b 64 65 73 63 72 |rs..\beg|in{descr|
|00003190| 69 70 74 69 6f 6e 7d 0a | 5c 69 74 65 6d 5b 5c 74 |iption}.|\item[\t|
|000031a0| 74 20 40 40 66 5d 20 43 | 72 65 61 74 65 20 61 6e |t @@f] C|reate an|
|000031b0| 20 69 6e 64 65 78 20 6f | 66 20 66 69 6c 65 20 6e | index o|f file n|
|000031c0| 61 6d 65 73 2e 0a 5c 69 | 74 65 6d 5b 5c 74 74 20 |ames..\i|tem[\tt |
|000031d0| 40 40 6d 5d 20 43 72 65 | 61 74 65 20 61 6e 20 69 |@@m] Cre|ate an i|
|000031e0| 6e 64 65 78 20 6f 66 20 | 6d 61 63 72 6f 20 6e 61 |ndex of |macro na|
|000031f0| 6d 65 73 2e 0a 5c 69 74 | 65 6d 5b 5c 74 74 20 40 |mes..\it|em[\tt @|
|00003200| 40 75 5d 20 43 72 65 61 | 74 65 20 61 6e 20 69 6e |@u] Crea|te an in|
|00003210| 64 65 78 20 6f 66 20 75 | 73 65 72 2d 73 70 65 63 |dex of u|ser-spec|
|00003220| 69 66 69 65 64 20 69 64 | 65 6e 74 69 66 69 65 72 |ified id|entifier|
|00003230| 73 2e 0a 5c 65 6e 64 7b | 64 65 73 63 72 69 70 74 |s..\end{|descript|
|00003240| 69 6f 6e 7d 0a 49 20 75 | 73 75 61 6c 6c 79 20 70 |ion}.I u|sually p|
|00003250| 75 74 20 74 68 65 73 65 | 20 69 6e 20 74 68 65 69 |ut these| in thei|
|00003260| 72 20 6f 77 6e 20 73 65 | 63 74 69 6f 6e 0a 69 6e |r own se|ction.in|
|00003270| 20 74 68 65 20 5c 4c 61 | 54 65 58 5c 20 64 6f 63 | the \La|TeX\ doc|
|00003280| 75 6d 65 6e 74 3b 20 66 | 6f 72 20 65 78 61 6d 70 |ument; f|or examp|
|00003290| 6c 65 2c 20 73 65 65 20 | 43 68 61 70 74 65 72 7e |le, see |Chapter~|
|000032a0| 5c 72 65 66 7b 69 6e 64 | 65 78 65 73 7d 2e 0a 0a |\ref{ind|exes}...|
|000032b0| 49 64 65 6e 74 69 66 69 | 65 72 73 20 6d 75 73 74 |Identifi|ers must|
|000032c0| 20 62 65 20 65 78 70 6c | 69 63 69 74 6c 79 20 73 | be expl|icitly s|
|000032d0| 70 65 63 69 66 69 65 64 | 20 66 6f 72 20 69 6e 63 |pecified| for inc|
|000032e0| 6c 75 73 69 6f 6e 20 69 | 6e 20 74 68 65 0a 5c 76 |lusion i|n the.\v|
|000032f0| 65 72 62 7c 40 40 75 7c | 20 69 6e 64 65 78 2e 20 |erb|@@u|| index. |
|00003300| 42 79 20 63 6f 6e 76 65 | 6e 74 69 6f 6e 2c 20 65 |By conve|ntion, e|
|00003310| 61 63 68 20 69 64 65 6e | 74 69 66 69 65 72 20 69 |ach iden|tifier i|
|00003320| 73 20 6d 61 72 6b 65 64 | 20 61 74 20 74 68 65 0a |s marked| at the.|
|00003330| 70 6f 69 6e 74 20 6f 66 | 20 69 74 73 20 64 65 66 |point of| its def|
|00003340| 69 6e 69 74 69 6f 6e 3b | 20 61 6c 6c 20 72 65 66 |inition;| all ref|
|00003350| 65 72 65 6e 63 65 73 20 | 74 6f 20 65 61 63 68 20 |erences |to each |
|00003360| 69 64 65 6e 74 69 66 69 | 65 72 20 28 69 6e 73 69 |identifi|er (insi|
|00003370| 64 65 0a 73 63 72 61 70 | 73 29 20 77 69 6c 6c 20 |de.scrap|s) will |
|00003380| 62 65 20 64 69 73 63 6f | 76 65 72 65 64 20 61 75 |be disco|vered au|
|00003390| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 2e 20 54 6f 20 |tomatica|lly. To |
|000033a0| 60 60 6d 61 72 6b 27 27 | 20 61 6e 20 69 64 65 6e |``mark''| an iden|
|000033b0| 74 69 66 69 65 72 0a 66 | 6f 72 20 69 6e 63 6c 75 |tifier.f|or inclu|
|000033c0| 73 69 6f 6e 20 69 6e 20 | 74 68 65 20 69 6e 64 65 |sion in |the inde|
|000033d0| 78 2c 20 77 65 20 6d 75 | 73 74 20 6d 65 6e 74 69 |x, we mu|st menti|
|000033e0| 6f 6e 20 69 74 20 61 74 | 20 74 68 65 20 65 6e 64 |on it at| the end|
|000033f0| 20 6f 66 20 61 20 73 63 | 72 61 70 2e 0a 46 6f 72 | of a sc|rap..For|
|00003400| 20 65 78 61 6d 70 6c 65 | 2c 0a 5c 62 65 67 69 6e | example|,.\begin|
|00003410| 7b 71 75 6f 74 65 7d 0a | 5c 62 65 67 69 6e 7b 76 |{quote}.|\begin{v|
|00003420| 65 72 62 61 74 69 6d 7d | 0a 40 40 64 20 61 20 73 |erbatim}|.@@d a s|
|00003430| 63 72 61 70 20 40 40 7b | 0a 4c 65 74 27 73 20 70 |crap @@{|.Let's p|
|00003440| 72 65 74 65 6e 64 20 77 | 65 27 72 65 20 64 65 63 |retend w|e're dec|
|00003450| 6c 61 72 69 6e 67 20 74 | 68 65 20 76 61 72 69 61 |laring t|he varia|
|00003460| 62 6c 65 73 20 46 4f 4f | 20 61 6e 64 20 42 41 52 |bles FOO| and BAR|
|00003470| 0a 69 6e 73 69 64 65 20 | 74 68 69 73 20 73 63 72 |.inside |this scr|
|00003480| 61 70 2e 0a 40 40 7c 20 | 46 4f 4f 20 42 41 52 20 |ap..@@| |FOO BAR |
|00003490| 40 40 7d 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |@@}.\end|{verbati|
|000034a0| 6d 7d 0a 5c 65 6e 64 7b | 71 75 6f 74 65 7d 0a 49 |m}.\end{|quote}.I|
|000034b0| 27 76 65 20 75 73 65 64 | 20 61 6c 70 68 61 62 65 |'ve used| alphabe|
|000034c0| 74 69 63 20 69 64 65 6e | 74 69 66 69 65 72 73 20 |tic iden|tifiers |
|000034d0| 69 6e 20 74 68 69 73 20 | 65 78 61 6d 70 6c 65 2c |in this |example,|
|000034e0| 20 62 75 74 20 61 6e 79 | 20 73 74 72 69 6e 67 20 | but any| string |
|000034f0| 6f 66 0a 63 68 61 72 61 | 63 74 65 72 73 20 28 6e |of.chara|cters (n|
|00003500| 6f 74 20 69 6e 63 6c 75 | 64 69 6e 67 20 77 68 69 |ot inclu|ding whi|
|00003510| 74 65 73 70 61 63 65 20 | 6f 72 20 5c 76 65 72 62 |tespace |or \verb|
|00003520| 7c 40 40 7c 20 63 68 61 | 72 61 63 74 65 72 73 29 ||@@| cha|racters)|
|00003530| 20 77 69 6c 6c 20 64 6f | 2e 0a 54 68 65 72 65 66 | will do|..Theref|
|00003540| 6f 72 65 2c 20 69 74 27 | 73 20 70 6f 73 73 69 62 |ore, it'|s possib|
|00003550| 6c 65 20 74 6f 20 61 64 | 64 20 69 6e 64 65 78 20 |le to ad|d index |
|00003560| 65 6e 74 72 69 65 73 20 | 66 6f 72 20 74 68 69 6e |entries |for thin|
|00003570| 67 73 20 6c 69 6b 65 0a | 5c 76 65 72 62 7c 3c 3c |gs like.|\verb|<<|
|00003580| 3d 7c 20 69 66 20 64 65 | 73 69 72 65 64 2e 20 41 |=| if de|sired. A|
|00003590| 6e 20 69 64 65 6e 74 69 | 66 69 65 72 20 6d 61 79 |n identi|fier may|
|000035a0| 20 62 65 20 64 65 63 6c | 61 72 65 64 20 69 6e 20 | be decl|ared in |
|000035b0| 6d 6f 72 65 20 74 68 61 | 6e 20 6f 6e 65 0a 73 63 |more tha|n one.sc|
|000035c0| 72 61 70 2e 0a 0a 49 6e | 20 74 68 65 20 67 65 6e |rap...In| the gen|
|000035d0| 65 72 61 74 65 64 20 69 | 6e 64 65 78 2c 20 65 61 |erated i|ndex, ea|
|000035e0| 63 68 20 69 64 65 6e 74 | 69 66 69 65 72 20 61 70 |ch ident|ifier ap|
|000035f0| 70 65 61 72 73 20 77 69 | 74 68 20 61 20 6c 69 73 |pears wi|th a lis|
|00003600| 74 20 6f 66 20 61 6c 6c | 20 74 68 65 0a 73 63 72 |t of all| the.scr|
|00003610| 61 70 73 20 75 73 69 6e | 67 20 61 6e 64 20 64 65 |aps usin|g and de|
|00003620| 66 69 6e 69 6e 67 20 69 | 74 2c 20 77 68 65 72 65 |fining i|t, where|
|00003630| 20 74 68 65 20 64 65 66 | 69 6e 69 6e 67 20 73 63 | the def|ining sc|
|00003640| 72 61 70 73 20 61 72 65 | 0a 64 69 73 74 69 6e 67 |raps are|.disting|
|00003650| 75 69 73 68 65 64 20 62 | 79 20 75 6e 64 65 72 6c |uished b|y underl|
|00003660| 69 6e 69 6e 67 2e 20 4e | 6f 74 65 20 74 68 61 74 |ining. N|ote that|
|00003670| 20 74 68 65 20 69 64 65 | 6e 74 69 66 69 65 72 20 | the ide|ntifier |
|00003680| 64 6f 65 73 6e 27 74 0a | 61 63 74 75 61 6c 6c 79 |doesn't.|actually|
|00003690| 20 68 61 76 65 20 74 6f | 20 61 70 70 65 61 72 20 | have to| appear |
|000036a0| 69 6e 20 74 68 65 20 64 | 65 66 69 6e 69 6e 67 20 |in the d|efining |
|000036b0| 73 63 72 61 70 3b 20 69 | 74 20 6a 75 73 74 20 68 |scrap; i|t just h|
|000036c0| 61 73 20 74 6f 20 62 65 | 20 69 6e 0a 74 68 65 20 |as to be| in.the |
|000036d0| 6c 69 73 74 20 6f 66 20 | 64 65 66 69 6e 69 74 69 |list of |definiti|
|000036e0| 6f 6e 73 20 61 74 20 74 | 68 65 20 65 6e 64 20 6f |ons at t|he end o|
|000036f0| 66 20 61 20 73 63 72 61 | 70 2e 0a 0a 0a 5c 73 65 |f a scra|p....\se|
|00003700| 63 74 69 6f 6e 7b 52 75 | 6e 6e 69 6e 67 20 4e 75 |ction{Ru|nning Nu|
|00003710| 77 65 62 7d 0a 0a 4e 75 | 77 65 62 20 69 73 20 69 |web}..Nu|web is i|
|00003720| 6e 76 6f 6b 65 64 20 75 | 73 69 6e 67 20 74 68 65 |nvoked u|sing the|
|00003730| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 6d 6d 61 | followi|ng comma|
|00003740| 6e 64 3a 0a 5c 62 65 67 | 69 6e 7b 71 75 6f 74 65 |nd:.\beg|in{quote|
|00003750| 7d 0a 7b 5c 74 74 20 6e | 75 77 65 62 7d 20 7b 5c |}.{\tt n|uweb} {\|
|00003760| 65 6d 20 66 6c 61 67 73 | 20 66 69 6c 65 2d 6e 61 |em flags| file-na|
|00003770| 6d 65 7d 5c 6c 64 6f 74 | 73 0a 5c 65 6e 64 7b 71 |me}\ldot|s.\end{q|
|00003780| 75 6f 74 65 7d 0a 4f 6e | 65 20 6f 72 20 6d 6f 72 |uote}.On|e or mor|
|00003790| 65 20 66 69 6c 65 73 20 | 6d 61 79 20 62 65 20 70 |e files |may be p|
|000037a0| 72 6f 63 65 73 73 65 64 | 20 61 74 20 61 20 74 69 |rocessed| at a ti|
|000037b0| 6d 65 2e 20 49 66 20 61 | 20 66 69 6c 65 20 6e 61 |me. If a| file na|
|000037c0| 6d 65 20 68 61 73 20 6e | 6f 0a 65 78 74 65 6e 73 |me has n|o.extens|
|000037d0| 69 6f 6e 2c 20 5c 76 65 | 72 62 7c 2e 77 7c 20 77 |ion, \ve|rb|.w| w|
|000037e0| 69 6c 6c 20 62 65 20 61 | 70 70 65 6e 64 65 64 2e |ill be a|ppended.|
|000037f0| 20 20 7b 5c 4c 61 54 65 | 58 7d 20 73 75 69 74 61 | {\LaTe|X} suita|
|00003800| 62 6c 65 20 66 6f 72 0a | 74 72 61 6e 73 6c 61 74 |ble for.|translat|
|00003810| 69 6f 6e 20 69 6e 74 6f | 20 48 54 4d 4c 20 62 79 |ion into| HTML by|
|00003820| 20 7b 5c 4c 61 54 65 58 | 7d 32 48 54 4d 4c 20 77 | {\LaTeX|}2HTML w|
|00003830| 69 6c 6c 20 62 65 20 70 | 72 6f 64 75 63 65 64 20 |ill be p|roduced |
|00003840| 66 72 6f 6d 0a 66 69 6c | 65 73 20 77 68 6f 73 65 |from.fil|es whose|
|00003850| 20 6e 61 6d 65 20 65 6e | 64 73 20 77 69 74 68 20 | name en|ds with |
|00003860| 5c 76 65 72 62 7c 2e 68 | 77 7c 2c 20 6f 74 68 65 |\verb|.h|w|, othe|
|00003870| 72 77 69 73 65 2c 20 6f | 72 64 69 6e 61 72 79 20 |rwise, o|rdinary |
|00003880| 7b 5c 4c 61 54 65 58 7d | 20 77 69 6c 6c 20 62 65 |{\LaTeX}| will be|
|00003890| 0a 70 72 6f 64 75 63 65 | 64 2e 20 20 57 68 69 6c |.produce|d. Whil|
|000038a0| 65 20 61 20 66 69 6c 65 | 20 6e 61 6d 65 20 6d 61 |e a file| name ma|
|000038b0| 79 20 73 70 65 63 69 66 | 79 20 61 20 66 69 6c 65 |y specif|y a file|
|000038c0| 20 69 6e 20 61 6e 6f 74 | 68 65 72 20 64 69 72 65 | in anot|her dire|
|000038d0| 63 74 6f 72 79 2c 0a 74 | 68 65 20 72 65 73 75 6c |ctory,.t|he resul|
|000038e0| 74 69 6e 67 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 |ting doc|umentati|
|000038f0| 6f 6e 20 66 69 6c 65 20 | 77 69 6c 6c 20 61 6c 77 |on file |will alw|
|00003900| 61 79 73 20 62 65 20 63 | 72 65 61 74 65 64 20 69 |ays be c|reated i|
|00003910| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 0a 64 69 |n the cu|rrent.di|
|00003920| 72 65 63 74 6f 72 79 2e | 20 46 6f 72 20 65 78 61 |rectory.| For exa|
|00003930| 6d 70 6c 65 2c 0a 5c 62 | 65 67 69 6e 7b 71 75 6f |mple,.\b|egin{quo|
|00003940| 74 65 7d 0a 7b 5c 74 74 | 20 6e 75 77 65 62 20 2f |te}.{\tt| nuweb /|
|00003950| 66 6f 6f 2f 62 61 72 2f | 71 75 75 78 7d 0a 5c 65 |foo/bar/|quux}.\e|
|00003960| 6e 64 7b 71 75 6f 74 65 | 7d 0a 77 69 6c 6c 20 74 |nd{quote|}.will t|
|00003970| 61 6b 65 20 61 73 20 69 | 6e 70 75 74 20 74 68 65 |ake as i|nput the|
|00003980| 20 66 69 6c 65 20 5c 76 | 65 72 62 7c 2f 66 6f 6f | file \v|erb|/foo|
|00003990| 2f 62 61 72 2f 71 75 75 | 78 2e 77 7c 20 61 6e 64 |/bar/quu|x.w| and|
|000039a0| 20 77 69 6c 6c 20 63 72 | 65 61 74 65 20 74 68 65 | will cr|eate the|
|000039b0| 0a 66 69 6c 65 20 5c 76 | 65 72 62 7c 71 75 75 78 |.file \v|erb|quux|
|000039c0| 2e 74 65 78 7c 20 69 6e | 20 74 68 65 20 63 75 72 |.tex| in| the cur|
|000039d0| 72 65 6e 74 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |rent dir|ectory..|
|000039e0| 0a 42 79 20 64 65 66 61 | 75 6c 74 2c 20 6e 75 77 |.By defa|ult, nuw|
|000039f0| 65 62 20 70 65 72 66 6f | 72 6d 73 20 62 6f 74 68 |eb perfo|rms both|
|00003a00| 20 74 61 6e 67 6c 69 6e | 67 20 61 6e 64 20 77 65 | tanglin|g and we|
|00003a10| 61 76 69 6e 67 20 61 74 | 20 74 68 65 20 73 61 6d |aving at| the sam|
|00003a20| 65 20 74 69 6d 65 2e 0a | 4e 6f 72 6d 61 6c 6c 79 |e time..|Normally|
|00003a30| 2c 20 74 68 69 73 20 69 | 73 20 6e 6f 74 20 61 20 |, this i|s not a |
|00003a40| 62 6f 74 74 6c 65 6e 65 | 63 6b 20 69 6e 20 74 68 |bottlene|ck in th|
|00003a50| 65 20 63 6f 6d 70 69 6c | 61 74 69 6f 6e 20 70 72 |e compil|ation pr|
|00003a60| 6f 63 65 73 73 3b 0a 68 | 6f 77 65 76 65 72 2c 20 |ocess;.h|owever, |
|00003a70| 69 74 27 73 20 70 6f 73 | 73 69 62 6c 65 20 74 6f |it's pos|sible to|
|00003a80| 20 61 63 68 69 65 76 65 | 20 73 6c 69 67 68 74 6c | achieve| slightl|
|00003a90| 79 20 66 61 73 74 65 72 | 20 74 68 72 6f 75 67 68 |y faster| through|
|00003aa0| 70 75 74 20 62 79 0a 61 | 76 6f 69 64 69 6e 67 20 |put by.a|voiding |
|00003ab0| 6f 6e 65 20 6f 72 20 61 | 6e 6f 74 68 65 72 20 6f |one or a|nother o|
|00003ac0| 66 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 66 75 |f the de|fault fu|
|00003ad0| 6e 63 74 69 6f 6e 73 20 | 75 73 69 6e 67 20 63 6f |nctions |using co|
|00003ae0| 6d 6d 61 6e 64 2d 6c 69 | 6e 65 0a 66 6c 61 67 73 |mmand-li|ne.flags|
|00003af0| 2e 20 54 68 65 72 65 20 | 61 72 65 20 63 75 72 72 |. There |are curr|
|00003b00| 65 6e 74 6c 79 20 74 68 | 72 65 65 20 70 6f 73 73 |ently th|ree poss|
|00003b10| 69 62 6c 65 20 66 6c 61 | 67 73 3a 0a 5c 62 65 67 |ible fla|gs:.\beg|
|00003b20| 69 6e 7b 64 65 73 63 72 | 69 70 74 69 6f 6e 7d 0a |in{descr|iption}.|
|00003b30| 5c 69 74 65 6d 5b 5c 74 | 74 20 2d 74 5d 20 53 75 |\item[\t|t -t] Su|
|00003b40| 70 70 72 65 73 73 20 67 | 65 6e 65 72 61 74 69 6f |ppress g|eneratio|
|00003b50| 6e 20 6f 66 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |n of the| documen|
|00003b60| 74 61 74 69 6f 6e 20 66 | 69 6c 65 2e 0a 5c 69 74 |tation f|ile..\it|
|00003b70| 65 6d 5b 5c 74 74 20 2d | 6f 5d 20 53 75 70 70 72 |em[\tt -|o] Suppr|
|00003b80| 65 73 73 20 67 65 6e 65 | 72 61 74 69 6f 6e 20 6f |ess gene|ration o|
|00003b90| 66 20 74 68 65 20 6f 75 | 74 70 75 74 20 66 69 6c |f the ou|tput fil|
|00003ba0| 65 73 2e 0a 5c 69 74 65 | 6d 5b 5c 74 74 20 2d 63 |es..\ite|m[\tt -c|
|00003bb0| 5d 20 41 76 6f 69 64 20 | 74 65 73 74 69 6e 67 20 |] Avoid |testing |
|00003bc0| 6f 75 74 70 75 74 20 66 | 69 6c 65 73 20 66 6f 72 |output f|iles for|
|00003bd0| 20 63 68 61 6e 67 65 20 | 62 65 66 6f 72 65 20 75 | change |before u|
|00003be0| 70 64 61 74 69 6e 67 20 | 74 68 65 6d 2e 0a 5c 65 |pdating |them..\e|
|00003bf0| 6e 64 7b 64 65 73 63 72 | 69 70 74 69 6f 6e 7d 0a |nd{descr|iption}.|
|00003c00| 54 68 75 73 2c 20 74 68 | 65 20 63 6f 6d 6d 61 6e |Thus, th|e comman|
|00003c10| 64 0a 5c 62 65 67 69 6e | 7b 71 75 6f 74 65 7d 0a |d.\begin|{quote}.|
|00003c20| 5c 76 65 72 62 7c 6e 75 | 77 65 62 20 2d 74 6f 20 |\verb|nu|web -to |
|00003c30| 2f 66 6f 6f 2f 62 61 72 | 2f 71 75 75 78 7c 0a 5c |/foo/bar|/quux|.\|
|00003c40| 65 6e 64 7b 71 75 6f 74 | 65 7d 0a 77 6f 75 6c 64 |end{quot|e}.would|
|00003c50| 20 73 69 6d 70 6c 79 20 | 73 63 61 6e 20 74 68 65 | simply |scan the|
|00003c60| 20 69 6e 70 75 74 20 61 | 6e 64 20 70 72 6f 64 75 | input a|nd produ|
|00003c70| 63 65 20 6e 6f 20 6f 75 | 74 70 75 74 20 61 74 20 |ce no ou|tput at |
|00003c80| 61 6c 6c 2e 0a 0a 54 68 | 65 72 65 20 61 72 65 20 |all...Th|ere are |
|00003c90| 74 77 6f 20 61 64 64 69 | 74 69 6f 6e 61 6c 20 63 |two addi|tional c|
|00003ca0| 6f 6d 6d 61 6e 64 2d 6c | 69 6e 65 20 66 6c 61 67 |ommand-l|ine flag|
|00003cb0| 73 3a 0a 5c 62 65 67 69 | 6e 7b 64 65 73 63 72 69 |s:.\begi|n{descri|
|00003cc0| 70 74 69 6f 6e 7d 0a 5c | 69 74 65 6d 5b 5c 74 74 |ption}.\|item[\tt|
|00003cd0| 20 2d 76 5d 20 46 6f 72 | 20 60 60 76 65 72 62 6f | -v] For| ``verbo|
|00003ce0| 73 65 2c 27 27 20 63 61 | 75 73 65 73 20 6e 75 77 |se,'' ca|uses nuw|
|00003cf0| 65 62 20 74 6f 20 77 72 | 69 74 65 20 69 6e 66 6f |eb to wr|ite info|
|00003d00| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 0a 20 20 |rmation |about. |
|00003d10| 69 74 73 20 70 72 6f 67 | 72 65 73 73 20 74 6f 20 |its prog|ress to |
|00003d20| 5c 76 65 72 62 7c 73 74 | 64 65 72 72 7c 2e 0a 5c |\verb|st|derr|..\|
|00003d30| 69 74 65 6d 5b 5c 74 74 | 20 2d 6e 5d 20 46 6f 72 |item[\tt| -n] For|
|00003d40| 63 65 73 20 73 63 72 61 | 70 73 20 74 6f 20 62 65 |ces scra|ps to be|
|00003d50| 20 6e 75 6d 62 65 72 65 | 64 20 73 65 71 75 65 6e | numbere|d sequen|
|00003d60| 74 69 61 6c 6c 79 20 66 | 72 6f 6d 7e 31 0a 20 20 |tially f|rom~1. |
|00003d70| 28 69 6e 73 74 65 61 64 | 20 6f 66 20 75 73 69 6e |(instead| of usin|
|00003d80| 67 20 70 61 67 65 20 6e | 75 6d 62 65 72 73 29 2e |g page n|umbers).|
|00003d90| 20 54 68 69 73 20 66 6f | 72 6d 20 69 73 20 70 65 | This fo|rm is pe|
|00003da0| 72 68 61 70 73 20 6d 6f | 72 65 20 64 65 73 69 72 |rhaps mo|re desir|
|00003db0| 61 62 6c 65 0a 20 20 66 | 6f 72 20 73 6d 61 6c 6c |able. f|or small|
|00003dc0| 20 77 65 62 73 2e 0a 5c | 65 6e 64 7b 64 65 73 63 | webs..\|end{desc|
|00003dd0| 72 69 70 74 69 6f 6e 7d | 0a 0a 5c 73 65 63 74 69 |ription}|..\secti|
|00003de0| 6f 6e 7b 47 65 6e 65 72 | 61 74 69 6e 67 20 48 54 |on{Gener|ating HT|
|00003df0| 4d 4c 7d 0a 0a 4e 69 6b | 6f 73 20 44 72 61 6b 6f |ML}..Nik|os Drako|
|00003e00| 73 27 20 7b 5c 4c 61 54 | 65 58 7d 32 48 54 4d 4c |s' {\LaT|eX}2HTML|
|00003e10| 20 56 65 72 73 69 6f 6e | 20 30 2e 35 2e 33 7e 5c | Version| 0.5.3~\|
|00003e20| 63 69 74 65 7b 64 72 61 | 6b 6f 73 3a 39 34 7d 20 |cite{dra|kos:94} |
|00003e30| 63 61 6e 20 62 65 20 75 | 73 65 64 0a 74 6f 20 74 |can be u|sed.to t|
|00003e40| 72 61 6e 73 6c 61 74 65 | 20 7b 5c 4c 61 54 65 58 |ranslate| {\LaTeX|
|00003e50| 7d 20 77 69 74 68 20 65 | 6d 62 65 64 64 65 64 20 |} with e|mbedded |
|00003e60| 48 54 4d 4c 20 73 63 72 | 61 70 73 20 69 6e 74 6f |HTML scr|aps into|
|00003e70| 20 48 54 4d 4c 5c 40 40 | 2e 20 20 42 65 20 73 75 | HTML\@@|. Be su|
|00003e80| 72 65 0a 74 6f 20 69 6e | 63 6c 75 64 65 20 74 68 |re.to in|clude th|
|00003e90| 65 20 64 6f 63 75 6d 65 | 6e 74 2d 73 74 79 6c 65 |e docume|nt-style|
|00003ea0| 20 6f 70 74 69 6f 6e 20 | 5c 76 65 72 62 7c 68 74 | option |\verb|ht|
|00003eb0| 6d 6c 7c 20 73 6f 20 74 | 68 61 74 20 7b 5c 4c 61 |ml| so t|hat {\La|
|00003ec0| 54 65 58 7d 20 77 69 6c | 6c 0a 75 6e 64 65 72 73 |TeX} wil|l.unders|
|00003ed0| 74 61 6e 64 20 74 68 65 | 20 68 79 70 65 72 74 65 |tand the| hyperte|
|00003ee0| 78 74 20 63 6f 6d 6d 61 | 6e 64 73 2e 20 20 57 68 |xt comma|nds. Wh|
|00003ef0| 65 6e 20 74 72 61 6e 73 | 6c 61 74 69 6e 67 20 69 |en trans|lating i|
|00003f00| 6e 74 6f 20 48 54 4d 4c | 2c 20 64 6f 20 6e 6f 74 |nto HTML|, do not|
|00003f10| 0a 61 6c 6c 6f 77 20 61 | 20 64 6f 63 75 6d 65 6e |.allow a| documen|
|00003f20| 74 20 74 6f 20 62 65 20 | 73 70 6c 69 74 20 62 79 |t to be |split by|
|00003f30| 20 73 70 65 63 69 66 79 | 69 6e 67 20 60 60 5c 76 | specify|ing ``\v|
|00003f40| 65 72 62 7c 2d 73 70 6c | 69 74 20 30 7c 27 27 2e |erb|-spl|it 0|''.|
|00003f50| 0a 59 6f 75 20 6e 65 65 | 64 20 6e 6f 74 20 67 65 |.You nee|d not ge|
|00003f60| 6e 65 72 61 74 65 20 6e | 61 76 69 67 61 74 69 6f |nerate n|avigatio|
|00003f70| 6e 20 6c 69 6e 6b 73 2c | 20 73 6f 20 61 6c 73 6f |n links,| so also|
|00003f80| 20 73 70 65 63 69 66 79 | 0a 60 60 5c 76 65 72 62 | specify|.``\verb|
|00003f90| 7c 2d 6e 6f 5f 6e 61 76 | 69 67 61 74 69 6f 6e 7c ||-no_nav|igation||
|00003fa0| 27 27 2e 0a 0a 57 68 69 | 6c 65 20 70 72 65 70 61 |''...Whi|le prepa|
|00003fb0| 72 69 6e 67 20 61 20 77 | 65 62 2c 20 79 6f 75 20 |ring a w|eb, you |
|00003fc0| 6d 61 79 20 77 61 6e 74 | 20 74 6f 20 76 69 65 77 |may want| to view|
|00003fd0| 20 74 68 65 20 70 72 6f | 67 72 61 6d 27 73 20 73 | the pro|gram's s|
|00003fe0| 63 72 61 70 73 20 77 69 | 74 68 6f 75 74 0a 74 61 |craps wi|thout.ta|
|00003ff0| 6b 69 6e 67 20 74 68 65 | 20 74 69 6d 65 20 74 6f |king the| time to|
|00004000| 20 72 75 6e 20 7b 5c 4c | 61 54 65 58 7d 32 48 54 | run {\L|aTeX}2HT|
|00004010| 4d 4c 5c 40 40 2e 20 20 | 53 69 6d 70 6c 79 20 72 |ML\@@. |Simply r|
|00004020| 65 6e 61 6d 65 20 74 68 | 65 20 67 65 6e 65 72 61 |ename th|e genera|
|00004030| 74 65 64 0a 7b 5c 4c 61 | 54 65 58 7d 20 73 6f 75 |ted.{\La|TeX} sou|
|00004040| 72 63 65 20 73 6f 20 74 | 68 61 74 20 69 74 73 20 |rce so t|hat its |
|00004050| 66 69 6c 65 20 6e 61 6d | 65 20 65 6e 64 73 20 77 |file nam|e ends w|
|00004060| 69 74 68 20 5c 76 65 72 | 62 7c 2e 68 74 6d 6c 7c |ith \ver|b|.html||
|00004070| 2c 20 61 6e 64 20 76 69 | 65 77 0a 74 68 61 74 20 |, and vi|ew.that |
|00004080| 66 69 6c 65 2e 20 20 54 | 68 65 20 64 6f 63 75 6d |file. T|he docum|
|00004090| 65 6e 74 61 74 69 6f 6e | 20 73 65 63 74 69 6f 6e |entation| section|
|000040a0| 73 20 77 69 6c 6c 20 62 | 65 20 6a 75 6d 62 6c 65 |s will b|e jumble|
|000040b0| 64 2c 20 62 75 74 20 74 | 68 65 0a 73 63 72 61 70 |d, but t|he.scrap|
|000040c0| 73 20 77 69 6c 6c 20 62 | 65 20 63 6c 65 61 72 2e |s will b|e clear.|
|000040d0| 0a 0a 5c 73 65 63 74 69 | 6f 6e 7b 52 65 73 74 72 |..\secti|on{Restr|
|000040e0| 69 63 74 69 6f 6e 73 7d | 0a 0a 42 65 63 61 75 73 |ictions}|..Becaus|
|000040f0| 65 20 6e 75 77 65 62 20 | 69 73 20 69 6e 74 65 6e |e nuweb |is inten|
|00004100| 64 65 64 20 74 6f 20 62 | 65 20 61 20 73 69 6d 70 |ded to b|e a simp|
|00004110| 6c 65 20 74 6f 6f 6c 2c | 20 49 27 76 65 20 65 73 |le tool,| I've es|
|00004120| 74 61 62 6c 69 73 68 65 | 64 20 61 20 66 65 77 0a |tablishe|d a few.|
|00004130| 72 65 73 74 72 69 63 74 | 69 6f 6e 73 2e 20 4f 76 |restrict|ions. Ov|
|00004140| 65 72 20 74 69 6d 65 2c | 20 73 6f 6d 65 20 6f 66 |er time,| some of|
|00004150| 20 74 68 65 73 65 20 6d | 61 79 20 62 65 20 65 6c | these m|ay be el|
|00004160| 69 6d 69 6e 61 74 65 64 | 3b 20 6f 74 68 65 72 73 |iminated|; others|
|00004170| 20 73 65 65 6d 0a 66 75 | 6e 64 61 6d 65 6e 74 61 | seem.fu|ndamenta|
|00004180| 6c 2e 0a 5c 62 65 67 69 | 6e 7b 69 74 65 6d 69 7a |l..\begi|n{itemiz|
|00004190| 65 7d 0a 5c 69 74 65 6d | 20 54 68 65 20 68 61 6e |e}.\item| The han|
|000041a0| 64 6c 69 6e 67 20 6f 66 | 20 65 72 72 6f 72 73 20 |dling of| errors |
|000041b0| 69 73 20 6e 6f 74 20 63 | 6f 6d 70 6c 65 74 65 6c |is not c|ompletel|
|000041c0| 79 20 69 64 65 61 6c 2e | 20 49 6e 20 73 6f 6d 65 |y ideal.| In some|
|000041d0| 20 63 61 73 65 73 2c 20 | 49 0a 20 20 73 69 6d 70 | cases, |I. simp|
|000041e0| 6c 79 20 77 61 72 6e 20 | 6f 66 20 61 20 70 72 6f |ly warn |of a pro|
|000041f0| 62 6c 65 6d 20 61 6e 64 | 20 63 6f 6e 74 69 6e 75 |blem and| continu|
|00004200| 65 3b 20 69 6e 20 6f 74 | 68 65 72 20 63 61 73 65 |e; in ot|her case|
|00004210| 73 20 49 20 68 61 6c 74 | 0a 20 20 69 6d 6d 65 64 |s I halt|. immed|
|00004220| 69 61 74 65 6c 79 2e 20 | 54 68 69 73 20 62 65 68 |iately. |This beh|
|00004230| 61 76 69 6f 72 20 73 68 | 6f 75 6c 64 20 62 65 20 |avior sh|ould be |
|00004240| 72 65 67 75 6c 61 72 69 | 7a 65 64 2e 0a 5c 69 74 |regulari|zed..\it|
|00004250| 65 6d 20 49 20 77 61 72 | 6e 20 61 62 6f 75 74 20 |em I war|n about |
|00004260| 72 65 66 65 72 65 6e 63 | 65 73 20 74 6f 20 6d 61 |referenc|es to ma|
|00004270| 63 72 6f 73 20 74 68 61 | 74 20 68 61 76 65 6e 27 |cros tha|t haven'|
|00004280| 74 20 62 65 65 6e 20 64 | 65 66 69 6e 65 64 2c 20 |t been d|efined, |
|00004290| 62 75 74 0a 20 20 64 6f | 6e 27 74 20 68 61 6c 74 |but. do|n't halt|
|000042a0| 2e 20 54 68 69 73 20 73 | 65 65 6d 73 20 6d 6f 73 |. This s|eems mos|
|000042b0| 74 20 63 6f 6e 76 65 6e | 69 65 6e 74 20 66 6f 72 |t conven|ient for|
|000042c0| 20 64 65 76 65 6c 6f 70 | 6d 65 6e 74 2c 20 62 75 | develop|ment, bu|
|000042d0| 74 20 6d 61 79 20 63 68 | 61 6e 67 65 0a 20 20 69 |t may ch|ange. i|
|000042e0| 6e 20 74 68 65 20 66 75 | 74 75 72 65 2e 0a 5c 69 |n the fu|ture..\i|
|000042f0| 74 65 6d 20 46 69 6c 65 | 20 6e 61 6d 65 73 20 61 |tem File| names a|
|00004300| 6e 64 20 69 6e 64 65 78 | 20 65 6e 74 72 69 65 73 |nd index| entries|
|00004310| 20 73 68 6f 75 6c 64 20 | 6e 6f 74 20 63 6f 6e 74 | should |not cont|
|00004320| 61 69 6e 20 61 6e 79 20 | 5c 76 65 72 62 7c 40 40 |ain any |\verb|@@|
|00004330| 7c 0a 20 20 73 69 67 6e | 73 2e 0a 5c 69 74 65 6d ||. sign|s..\item|
|00004340| 20 4d 61 63 72 6f 20 6e | 61 6d 65 73 20 6d 61 79 | Macro n|ames may|
|00004350| 20 62 65 20 28 61 6c 6d | 6f 73 74 29 20 61 6e 79 | be (alm|ost) any|
|00004360| 20 77 65 6c 6c 2d 66 6f | 72 6d 65 64 20 5c 54 65 | well-fo|rmed \Te|
|00004370| 58 5c 20 73 74 72 69 6e | 67 2e 0a 20 20 49 74 20 |X\ strin|g.. It |
|00004380| 6d 61 6b 65 73 20 73 65 | 6e 73 65 20 74 6f 20 63 |makes se|nse to c|
|00004390| 68 61 6e 67 65 20 66 6f | 6e 74 73 20 6f 72 20 75 |hange fo|nts or u|
|000043a0| 73 65 20 6d 61 74 68 20 | 6d 6f 64 65 3b 20 68 6f |se math |mode; ho|
|000043b0| 77 65 76 65 72 2c 20 63 | 61 72 65 20 73 68 6f 75 |wever, c|are shou|
|000043c0| 6c 64 0a 20 20 62 65 20 | 74 61 6b 65 6e 20 74 6f |ld. be |taken to|
|000043d0| 20 65 6e 73 75 72 65 20 | 6d 61 74 63 68 69 6e 67 | ensure |matching|
|000043e0| 20 62 72 61 63 65 73 2c | 20 62 72 61 63 6b 65 74 | braces,| bracket|
|000043f0| 73 2c 20 61 6e 64 20 64 | 6f 6c 6c 61 72 20 73 69 |s, and d|ollar si|
|00004400| 67 6e 73 2e 0a 20 20 57 | 68 65 6e 20 70 72 6f 64 |gns.. W|hen prod|
|00004410| 75 63 69 6e 67 20 48 54 | 4d 4c 2c 20 6d 61 63 72 |ucing HT|ML, macr|
|00004420| 6f 73 20 61 72 65 20 64 | 69 73 70 6c 61 79 65 64 |os are d|isplayed|
|00004430| 20 69 6e 20 61 20 70 72 | 65 66 6f 72 6d 61 74 74 | in a pr|eformatt|
|00004440| 65 64 20 65 6c 65 6d 65 | 6e 74 0a 20 20 28 50 52 |ed eleme|nt. (PR|
|00004450| 45 29 2c 20 73 6f 20 6d | 61 63 72 6f 73 20 6d 61 |E), so m|acros ma|
|00004460| 79 20 63 6f 6e 74 61 69 | 6e 20 6f 6e 65 20 6f 72 |y contai|n one or|
|00004470| 20 6d 6f 72 65 20 41 2c | 20 42 2c 20 49 2c 20 55 | more A,| B, I, U|
|00004480| 20 6f 72 20 50 20 65 6c | 65 6d 65 6e 74 73 0a 20 | or P el|ements. |
|00004490| 20 6f 72 20 64 61 74 61 | 20 63 68 61 72 61 63 74 | or data| charact|
|000044a0| 65 72 73 2e 0a 5c 69 74 | 65 6d 20 41 6e 79 74 68 |ers..\it|em Anyth|
|000044b0| 69 6e 67 20 69 73 20 61 | 6c 6c 6f 77 65 64 20 69 |ing is a|llowed i|
|000044c0| 6e 20 74 68 65 20 62 6f | 64 79 20 6f 66 20 61 20 |n the bo|dy of a |
|000044d0| 73 63 72 61 70 3b 20 68 | 6f 77 65 76 65 72 2c 20 |scrap; h|owever, |
|000044e0| 76 65 72 79 0a 20 20 6c | 6f 6e 67 20 73 63 72 61 |very. l|ong scra|
|000044f0| 70 73 20 28 68 6f 72 69 | 7a 6f 6e 74 61 6c 6c 79 |ps (hori|zontally|
|00004500| 20 6f 72 20 76 65 72 74 | 69 63 61 6c 6c 79 29 20 | or vert|ically) |
|00004510| 6d 61 79 20 6e 6f 74 20 | 74 79 70 65 73 65 74 20 |may not |typeset |
|00004520| 77 65 6c 6c 2e 0a 5c 69 | 74 65 6d 20 54 65 6d 70 |well..\i|tem Temp|
|00004530| 6f 72 61 72 79 20 66 69 | 6c 65 73 20 28 63 72 65 |orary fi|les (cre|
|00004540| 61 74 65 64 20 66 6f 72 | 20 63 6f 6d 70 61 72 69 |ated for| compari|
|00004550| 73 6f 6e 20 74 6f 20 74 | 68 65 20 65 76 65 6e 74 |son to t|he event|
|00004560| 75 61 6c 0a 20 20 6f 75 | 74 70 75 74 20 66 69 6c |ual. ou|tput fil|
|00004570| 65 73 29 20 61 72 65 20 | 70 6c 61 63 65 64 20 69 |es) are |placed i|
|00004580| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 69 |n the cu|rrent di|
|00004590| 72 65 63 74 6f 72 79 2e | 20 53 69 6e 63 65 20 74 |rectory.| Since t|
|000045a0| 68 65 79 20 6d 61 79 20 | 62 65 0a 20 20 72 65 6e |hey may |be. ren|
|000045b0| 61 6d 65 64 20 74 6f 20 | 61 6e 20 6f 75 74 70 75 |amed to |an outpu|
|000045c0| 74 20 66 69 6c 65 20 6e | 61 6d 65 2c 20 61 6c 6c |t file n|ame, all|
|000045d0| 20 74 68 65 20 6f 75 74 | 70 75 74 20 66 69 6c 65 | the out|put file|
|000045e0| 73 20 73 68 6f 75 6c 64 | 20 62 65 20 6f 6e 20 74 |s should| be on t|
|000045f0| 68 65 0a 20 20 73 61 6d | 65 20 66 69 6c 65 20 73 |he. sam|e file s|
|00004600| 79 73 74 65 6d 20 61 73 | 20 74 68 65 20 63 75 72 |ystem as| the cur|
|00004610| 72 65 6e 74 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |rent dir|ectory..|
|00004620| 5c 69 74 65 6d 20 42 65 | 63 61 75 73 65 20 70 61 |\item Be|cause pa|
|00004630| 67 65 20 6e 75 6d 62 65 | 72 73 20 63 61 6e 6e 6f |ge numbe|rs canno|
|00004640| 74 20 62 65 20 64 65 74 | 65 72 6d 69 6e 65 64 20 |t be det|ermined |
|00004650| 75 6e 74 69 6c 20 74 68 | 65 20 64 6f 63 75 6d 65 |until th|e docume|
|00004660| 6e 74 20 68 61 73 0a 20 | 20 62 65 65 6e 20 74 79 |nt has. | been ty|
|00004670| 70 65 73 65 74 2c 20 77 | 65 20 68 61 76 65 20 74 |peset, w|e have t|
|00004680| 6f 20 72 65 72 75 6e 20 | 6e 75 77 65 62 20 61 66 |o rerun |nuweb af|
|00004690| 74 65 72 20 5c 4c 61 54 | 65 58 5c 20 74 6f 20 6f |ter \LaT|eX\ to o|
|000046a0| 62 74 61 69 6e 20 61 20 | 63 6c 65 61 6e 0a 20 20 |btain a |clean. |
|000046b0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 65 20 64 |version |of the d|
|000046c0| 6f 63 75 6d 65 6e 74 20 | 28 76 65 72 79 20 73 69 |ocument |(very si|
|000046d0| 6d 69 6c 61 72 20 74 6f | 20 74 68 65 20 77 61 79 |milar to| the way|
|000046e0| 20 77 65 20 73 6f 6d 65 | 74 69 6d 65 73 20 68 61 | we some|times ha|
|000046f0| 76 65 0a 20 20 74 6f 20 | 72 65 72 75 6e 20 5c 4c |ve. to |rerun \L|
|00004700| 61 54 65 58 5c 20 74 6f | 20 6f 62 74 61 69 6e 20 |aTeX\ to| obtain |
|00004710| 61 6e 20 75 70 2d 74 6f | 2d 64 61 74 65 20 74 61 |an up-to|-date ta|
|00004720| 62 6c 65 20 6f 66 20 63 | 6f 6e 74 65 6e 74 73 20 |ble of c|ontents |
|00004730| 61 66 74 65 72 0a 20 20 | 73 69 67 6e 69 66 69 63 |after. |signific|
|00004740| 61 6e 74 20 65 64 69 74 | 73 29 2e 20 20 4e 75 77 |ant edit|s). Nuw|
|00004750| 65 62 20 77 69 6c 6c 20 | 77 61 72 6e 20 28 69 6e |eb will |warn (in|
|00004760| 20 6d 6f 73 74 20 63 61 | 73 65 73 29 20 77 68 65 | most ca|ses) whe|
|00004770| 6e 20 74 68 69 73 20 6e | 65 65 64 73 0a 20 20 74 |n this n|eeds. t|
|00004780| 6f 20 62 65 20 64 6f 6e | 65 3b 20 69 6e 20 74 68 |o be don|e; in th|
|00004790| 65 20 72 65 6d 61 69 6e | 69 6e 67 20 63 61 73 65 |e remain|ing case|
|000047a0| 73 2c 20 5c 4c 61 54 65 | 58 5c 20 77 69 6c 6c 20 |s, \LaTe|X\ will |
|000047b0| 77 61 72 6e 20 74 68 61 | 74 20 6c 61 62 65 6c 73 |warn tha|t labels|
|000047c0| 0a 20 20 6d 61 79 20 68 | 61 76 65 20 63 68 61 6e |. may h|ave chan|
|000047d0| 67 65 64 2e 0a 5c 65 6e | 64 7b 69 74 65 6d 69 7a |ged..\en|d{itemiz|
|000047e0| 65 7d 0a 56 65 72 79 20 | 6c 6f 6e 67 20 73 63 72 |e}.Very |long scr|
|000047f0| 61 70 73 20 6d 61 79 20 | 62 65 20 61 6c 6c 6f 77 |aps may |be allow|
|00004800| 65 64 20 74 6f 20 62 72 | 65 61 6b 20 61 63 72 6f |ed to br|eak acro|
|00004810| 73 73 20 61 20 70 61 67 | 65 20 69 66 20 64 65 63 |ss a pag|e if dec|
|00004820| 6c 61 72 65 64 0a 77 69 | 74 68 20 5c 76 65 72 62 |lared.wi|th \verb|
|00004830| 7c 40 40 4f 7c 20 6f 72 | 20 5c 76 65 72 62 7c 40 ||@@O| or| \verb|@|
|00004840| 40 44 7c 20 28 69 6e 73 | 74 65 61 64 20 6f 66 20 |@D| (ins|tead of |
|00004850| 5c 76 65 72 62 7c 40 40 | 6f 7c 20 61 6e 64 20 5c |\verb|@@|o| and \|
|00004860| 76 65 72 62 7c 40 40 64 | 7c 29 2e 0a 54 68 69 73 |verb|@@d||)..This|
|00004870| 20 64 6f 65 73 6e 27 74 | 20 77 6f 72 6b 20 76 65 | doesn't| work ve|
|00004880| 72 79 20 77 65 6c 6c 20 | 61 73 20 61 20 64 65 66 |ry well |as a def|
|00004890| 61 75 6c 74 2c 20 73 69 | 6e 63 65 20 66 61 72 20 |ault, si|nce far |
|000048a0| 74 6f 6f 20 6d 61 6e 79 | 20 73 68 6f 72 74 0a 73 |too many| short.s|
|000048b0| 63 72 61 70 73 20 77 69 | 6c 6c 20 62 65 20 62 72 |craps wi|ll be br|
|000048c0| 6f 6b 65 6e 20 61 63 72 | 6f 73 73 20 70 61 67 65 |oken acr|oss page|
|000048d0| 73 3b 20 68 6f 77 65 76 | 65 72 2c 20 61 73 20 61 |s; howev|er, as a|
|000048e0| 20 75 73 65 72 2d 63 6f | 6e 74 72 6f 6c 6c 65 64 | user-co|ntrolled|
|000048f0| 0a 6f 70 74 69 6f 6e 2c | 20 69 74 20 73 65 65 6d |.option,| it seem|
|00004900| 73 20 76 65 72 79 20 75 | 73 65 66 75 6c 2e 20 20 |s very u|seful. |
|00004910| 4e 6f 20 64 69 73 74 69 | 6e 63 74 69 6f 6e 20 69 |No disti|nction i|
|00004920| 73 20 6d 61 64 65 20 62 | 65 74 77 65 65 6e 20 74 |s made b|etween t|
|00004930| 68 65 0a 75 70 70 65 72 | 20 63 61 73 65 20 61 6e |he.upper| case an|
|00004940| 64 20 6c 6f 77 65 72 20 | 63 61 73 65 20 66 6f 72 |d lower |case for|
|00004950| 6d 73 20 6f 66 20 74 68 | 65 73 65 20 63 6f 6d 6d |ms of th|ese comm|
|00004960| 61 6e 64 73 20 77 68 65 | 6e 20 67 65 6e 65 72 61 |ands whe|n genera|
|00004970| 74 69 6e 67 0a 48 54 4d | 4c 5c 40 40 2e 0a 0a 5c |ting.HTM|L\@@...\|
|00004980| 73 65 63 74 69 6f 6e 7b | 41 63 6b 6e 6f 77 6c 65 |section{|Acknowle|
|00004990| 64 67 65 6d 65 6e 74 73 | 7d 0a 0a 53 65 76 65 72 |dgements|}..Sever|
|000049a0| 61 6c 20 70 65 6f 70 6c | 65 20 68 61 76 65 20 63 |al peopl|e have c|
|000049b0| 6f 6e 74 72 69 62 75 74 | 65 64 20 74 68 65 69 72 |ontribut|ed their|
|000049c0| 20 74 69 6d 65 73 2c 20 | 69 64 65 61 73 2c 20 61 | times, |ideas, a|
|000049d0| 6e 64 20 64 65 62 75 67 | 67 69 6e 67 0a 73 6b 69 |nd debug|ging.ski|
|000049e0| 6c 6c 73 2e 20 49 6e 20 | 70 61 72 74 69 63 75 6c |lls. In |particul|
|000049f0| 61 72 2c 20 49 27 64 20 | 6c 69 6b 65 20 74 6f 20 |ar, I'd |like to |
|00004a00| 61 63 6b 6e 6f 77 6c 65 | 64 67 65 20 74 68 65 20 |acknowle|dge the |
|00004a10| 63 6f 6e 74 72 69 62 75 | 74 69 6f 6e 73 20 6f 66 |contribu|tions of|
|00004a20| 0a 4f 73 6d 61 6e 20 42 | 75 79 75 6b 69 73 69 6b |.Osman B|uyukisik|
|00004a30| 2c 20 4d 61 6e 75 65 6c | 20 43 61 72 72 69 62 61 |, Manuel| Carriba|
|00004a40| 2c 20 41 64 72 69 61 6e | 20 43 6c 61 72 6b 65 2c |, Adrian| Clarke,|
|00004a50| 20 54 69 6d 20 48 61 72 | 76 65 79 2c 20 4d 69 63 | Tim Har|vey, Mic|
|00004a60| 68 61 65 6c 0a 4c 65 77 | 69 73 2c 20 57 61 6c 74 |hael.Lew|is, Walt|
|00004a70| 65 72 20 52 61 76 65 6e | 65 6b 2c 20 52 6f 62 20 |er Raven|ek, Rob |
|00004a80| 53 68 69 6c 6c 69 6e 67 | 73 62 75 72 67 2c 20 4b |Shilling|sburg, K|
|00004a90| 61 79 76 61 6e 20 53 79 | 6c 76 61 6e 2c 20 44 6f |ayvan Sy|lvan, Do|
|00004aa0| 6d 69 6e 69 71 75 65 0a | 64 65 7e 57 61 6c 65 66 |minique.|de~Walef|
|00004ab0| 66 65 2c 20 61 6e 64 20 | 53 63 6f 74 74 20 57 61 |fe, and |Scott Wa|
|00004ac0| 72 72 65 6e 2e 20 20 4f | 66 20 63 6f 75 72 73 65 |rren. O|f course|
|00004ad0| 2c 20 6d 6f 73 74 20 6f | 66 20 74 68 65 73 65 20 |, most o|f these |
|00004ae0| 70 65 6f 70 6c 65 20 77 | 6f 75 6c 64 0a 6e 65 76 |people w|ould.nev|
|00004af0| 65 72 20 68 61 76 65 20 | 68 65 61 72 64 20 6f 66 |er have |heard of|
|00004b00| 20 6e 75 77 65 62 20 28 | 6f 72 20 6d 61 6e 79 20 | nuweb (|or many |
|00004b10| 6f 74 68 65 72 20 74 6f | 6f 6c 73 29 20 77 69 74 |other to|ols) wit|
|00004b20| 68 6f 75 74 20 74 68 65 | 20 65 66 66 6f 72 74 73 |hout the| efforts|
|00004b30| 20 6f 66 0a 47 65 6f 72 | 67 65 20 47 72 65 65 6e | of.Geor|ge Green|
|00004b40| 77 61 64 65 2e 0a 0a 0a | 5c 69 66 73 68 6f 77 63 |wade....|\ifshowc|
|00004b50| 6f 64 65 0a 5c 63 68 61 | 70 74 65 72 7b 54 68 65 |ode.\cha|pter{The|
|00004b60| 20 4f 76 65 72 61 6c 6c | 20 53 74 72 75 63 74 75 | Overall| Structu|
|00004b70| 72 65 7d 0a 0a 50 72 6f | 63 65 73 73 69 6e 67 20 |re}..Pro|cessing |
|00004b80| 61 20 77 65 62 20 72 65 | 71 75 69 72 65 73 20 74 |a web re|quires t|
|00004b90| 68 72 65 65 20 6d 61 6a | 6f 72 20 73 74 65 70 73 |hree maj|or steps|
|00004ba0| 3a 0a 5c 62 65 67 69 6e | 7b 65 6e 75 6d 65 72 61 |:.\begin|{enumera|
|00004bb0| 74 65 7d 0a 5c 69 74 65 | 6d 20 52 65 61 64 20 74 |te}.\ite|m Read t|
|00004bc0| 68 65 20 73 6f 75 72 63 | 65 2c 20 61 63 63 75 6d |he sourc|e, accum|
|00004bd0| 75 6c 61 74 69 6e 67 20 | 66 69 6c 65 20 6e 61 6d |ulating |file nam|
|00004be0| 65 73 2c 20 6d 61 63 72 | 6f 20 6e 61 6d 65 73 2c |es, macr|o names,|
|00004bf0| 20 73 63 72 61 70 73 2c | 0a 61 6e 64 20 6c 69 73 | scraps,|.and lis|
|00004c00| 74 73 20 6f 66 20 63 72 | 6f 73 73 2d 72 65 66 65 |ts of cr|oss-refe|
|00004c10| 72 65 6e 63 65 73 2e 0a | 5c 69 74 65 6d 20 52 65 |rences..|\item Re|
|00004c20| 72 65 61 64 20 74 68 65 | 20 73 6f 75 72 63 65 2c |read the| source,|
|00004c30| 20 63 6f 70 79 69 6e 67 | 20 6f 75 74 20 74 6f 20 | copying| out to |
|00004c40| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|00004c50| 6e 20 66 69 6c 65 2c 20 | 77 69 74 68 0a 70 72 6f |n file, |with.pro|
|00004c60| 74 65 63 74 69 6f 6e 20 | 61 6e 64 20 63 72 6f 73 |tection |and cros|
|00004c70| 73 2d 72 65 66 65 72 65 | 6e 63 65 20 69 6e 66 6f |s-refere|nce info|
|00004c80| 72 6d 61 74 69 6f 6e 20 | 66 6f 72 20 61 6c 6c 20 |rmation |for all |
|00004c90| 74 68 65 20 73 63 72 61 | 70 73 2e 0a 5c 69 74 65 |the scra|ps..\ite|
|00004ca0| 6d 20 54 72 61 76 65 72 | 73 65 20 74 68 65 20 6c |m Traver|se the l|
|00004cb0| 69 73 74 20 6f 66 20 66 | 69 6c 65 73 20 6e 61 6d |ist of f|iles nam|
|00004cc0| 65 73 2e 20 46 6f 72 20 | 65 61 63 68 20 66 69 6c |es. For |each fil|
|00004cd0| 65 20 6e 61 6d 65 3a 0a | 5c 62 65 67 69 6e 7b 65 |e name:.|\begin{e|
|00004ce0| 6e 75 6d 65 72 61 74 65 | 7d 0a 5c 69 74 65 6d 20 |numerate|}.\item |
|00004cf0| 44 75 6d 70 20 61 6c 6c | 20 74 68 65 20 64 65 66 |Dump all| the def|
|00004d00| 69 6e 69 6e 67 20 73 63 | 72 61 70 73 20 69 6e 74 |ining sc|raps int|
|00004d10| 6f 20 61 20 74 65 6d 70 | 6f 72 61 72 79 20 66 69 |o a temp|orary fi|
|00004d20| 6c 65 2e 0a 5c 69 74 65 | 6d 20 49 66 20 74 68 65 |le..\ite|m If the|
|00004d30| 20 66 69 6c 65 20 61 6c | 72 65 61 64 79 20 65 78 | file al|ready ex|
|00004d40| 69 73 74 73 20 61 6e 64 | 20 69 73 20 75 6e 63 68 |ists and| is unch|
|00004d50| 61 6e 67 65 64 2c 20 64 | 65 6c 65 74 65 20 74 68 |anged, d|elete th|
|00004d60| 65 0a 74 65 6d 70 6f 72 | 61 72 79 20 66 69 6c 65 |e.tempor|ary file|
|00004d70| 3b 20 6f 74 68 65 72 77 | 69 73 65 2c 20 72 65 6e |; otherw|ise, ren|
|00004d80| 61 6d 65 20 74 68 65 20 | 74 65 6d 70 6f 72 61 72 |ame the |temporar|
|00004d90| 79 20 66 69 6c 65 2e 0a | 5c 65 6e 64 7b 65 6e 75 |y file..|\end{enu|
|00004da0| 6d 65 72 61 74 65 7d 0a | 5c 65 6e 64 7b 65 6e 75 |merate}.|\end{enu|
|00004db0| 6d 65 72 61 74 65 7d 0a | 0a 0a 5c 73 65 63 74 69 |merate}.|..\secti|
|00004dc0| 6f 6e 7b 46 69 6c 65 73 | 7d 0a 0a 49 20 68 61 76 |on{Files|}..I hav|
|00004dd0| 65 20 64 69 76 69 64 65 | 64 20 74 68 65 20 70 72 |e divide|d the pr|
|00004de0| 6f 67 72 61 6d 20 69 6e | 74 6f 20 73 65 76 65 72 |ogram in|to sever|
|00004df0| 61 6c 20 66 69 6c 65 73 | 20 66 6f 72 20 71 75 69 |al files| for qui|
|00004e00| 63 6b 65 72 0a 72 65 63 | 6f 6d 70 69 6c 61 74 69 |cker.rec|ompilati|
|00004e10| 6f 6e 20 64 75 72 69 6e | 67 20 64 65 76 65 6c 6f |on durin|g develo|
|00004e20| 70 6d 65 6e 74 2e 0a 40 | 6f 20 67 6c 6f 62 61 6c |pment..@|o global|
|00004e30| 2e 68 0a 40 7b 40 3c 49 | 6e 63 6c 75 64 65 20 66 |.h.@{@<I|nclude f|
|00004e40| 69 6c 65 73 40 3e 0a 40 | 3c 54 79 70 65 20 64 65 |iles@>.@|<Type de|
|00004e50| 63 6c 61 72 61 74 69 6f | 6e 73 40 3e 0a 40 3c 47 |claratio|ns@>.@<G|
|00004e60| 6c 6f 62 61 6c 20 76 61 | 72 69 61 62 6c 65 20 64 |lobal va|riable d|
|00004e70| 65 63 6c 61 72 61 74 69 | 6f 6e 73 40 3e 0a 40 3c |eclarati|ons@>.@<|
|00004e80| 46 75 6e 63 74 69 6f 6e | 20 70 72 6f 74 6f 74 79 |Function| prototy|
|00004e90| 70 65 73 40 3e 0a 40 7d | 0a 0a 57 65 27 6c 6c 20 |pes@>.@}|..We'll |
|00004ea0| 6e 65 65 64 20 61 74 20 | 6c 65 61 73 74 20 66 6f |need at |least fo|
|00004eb0| 75 72 20 6f 66 20 74 68 | 65 20 73 74 61 6e 64 61 |ur of th|e standa|
|00004ec0| 72 64 20 73 79 73 74 65 | 6d 20 69 6e 63 6c 75 64 |rd syste|m includ|
|00004ed0| 65 20 66 69 6c 65 73 2e | 0a 40 64 20 49 6e 63 6c |e files.|.@d Incl|
|00004ee0| 75 64 65 20 66 69 6c 65 | 73 0a 40 7b 23 69 6e 63 |ude file|s.@{#inc|
|00004ef0| 6c 75 64 65 20 3c 73 74 | 64 6c 69 62 2e 68 3e 0a |lude <st|dlib.h>.|
|00004f00| 23 69 6e 63 6c 75 64 65 | 20 3c 73 74 64 69 6f 2e |#include| <stdio.|
|00004f10| 68 3e 0a 23 69 6e 63 6c | 75 64 65 20 3c 73 74 72 |h>.#incl|ude <str|
|00004f20| 69 6e 67 2e 68 3e 0a 23 | 69 6e 63 6c 75 64 65 20 |ing.h>.#|include |
|00004f30| 3c 63 74 79 70 65 2e 68 | 3e 0a 40 7c 20 46 49 4c |<ctype.h|>.@| FIL|
|00004f40| 45 20 73 74 64 65 72 72 | 20 65 78 69 74 20 66 70 |E stderr| exit fp|
|00004f50| 72 69 6e 74 66 20 66 70 | 75 74 73 20 66 6f 70 65 |rintf fp|uts fope|
|00004f60| 6e 20 66 63 6c 6f 73 65 | 20 67 65 74 63 20 70 75 |n fclose| getc pu|
|00004f70| 74 63 20 73 74 72 6c 65 | 6e 0a 74 6f 75 70 70 65 |tc strle|n.touppe|
|00004f80| 72 20 69 73 75 70 70 65 | 72 20 69 73 6c 6f 77 65 |r isuppe|r islowe|
|00004f90| 72 20 69 73 67 72 61 70 | 68 20 69 73 73 70 61 63 |r isgrap|h isspac|
|00004fa0| 65 20 74 6d 70 6e 61 6d | 20 72 65 6d 6f 76 65 20 |e tmpnam| remove |
|00004fb0| 6d 61 6c 6c 6f 63 20 73 | 69 7a 65 5f 74 20 40 7d |malloc s|ize_t @}|
|00004fc0| 0a 0a 5c 6e 65 77 70 61 | 67 65 0a 5c 6e 6f 69 6e |..\newpa|ge.\noin|
|00004fd0| 64 65 6e 74 0a 49 20 61 | 6c 73 6f 20 6c 69 6b 65 |dent.I a|lso like|
|00004fe0| 20 74 6f 20 75 73 65 20 | 5c 76 65 72 62 7c 54 52 | to use |\verb|TR|
|00004ff0| 55 45 7c 20 61 6e 64 20 | 5c 76 65 72 62 7c 46 41 |UE| and |\verb|FA|
|00005000| 4c 53 45 7c 20 69 6e 20 | 6d 79 20 63 6f 64 65 2e |LSE| in |my code.|
|00005010| 0a 49 27 64 20 75 73 65 | 20 61 6e 20 5c 76 65 72 |.I'd use| an \ver|
|00005020| 62 7c 65 6e 75 6d 7c 20 | 68 65 72 65 2c 20 65 78 |b|enum| |here, ex|
|00005030| 63 65 70 74 20 74 68 61 | 74 20 73 6f 6d 65 20 73 |cept tha|t some s|
|00005040| 79 73 74 65 6d 73 20 73 | 65 65 6d 20 74 6f 20 70 |ystems s|eem to p|
|00005050| 72 6f 76 69 64 65 0a 64 | 65 66 69 6e 69 74 69 6f |rovide.d|efinitio|
|00005060| 6e 73 20 6f 66 20 5c 76 | 65 72 62 7c 54 52 55 45 |ns of \v|erb|TRUE|
|00005070| 7c 20 61 6e 64 20 5c 76 | 65 72 62 7c 46 41 4c 53 || and \v|erb|FALS|
|00005080| 45 7c 20 62 79 20 64 65 | 66 61 75 6c 74 2e 20 20 |E| by de|fault. |
|00005090| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 0a 63 6f |The foll|owing.co|
|000050a0| 64 65 20 73 65 65 6d 73 | 20 74 6f 20 77 6f 72 6b |de seems| to work|
|000050b0| 20 6f 6e 20 61 6c 6c 20 | 74 68 65 20 6c 6f 63 61 | on all |the loca|
|000050c0| 6c 20 73 79 73 74 65 6d | 73 2e 0a 40 64 20 54 79 |l system|s..@d Ty|
|000050d0| 70 65 20 64 65 63 2e 2e | 2e 0a 40 7b 23 69 66 6e |pe dec..|..@{#ifn|
|000050e0| 64 65 66 20 46 41 4c 53 | 45 0a 23 64 65 66 69 6e |def FALS|E.#defin|
|000050f0| 65 20 46 41 4c 53 45 20 | 30 0a 23 65 6e 64 69 66 |e FALSE |0.#endif|
|00005100| 0a 23 69 66 6e 64 65 66 | 20 54 52 55 45 0a 23 64 |.#ifndef| TRUE.#d|
|00005110| 65 66 69 6e 65 20 54 52 | 55 45 20 31 0a 23 65 6e |efine TR|UE 1.#en|
|00005120| 64 69 66 0a 40 7c 20 46 | 41 4c 53 45 20 54 52 55 |dif.@| F|ALSE TRU|
|00005130| 45 20 40 7d 0a 0a 0a 5c | 73 75 62 73 65 63 74 69 |E @}...\|subsecti|
|00005140| 6f 6e 7b 54 68 65 20 4d | 61 69 6e 20 46 69 6c 65 |on{The M|ain File|
|00005150| 73 7d 0a 0a 54 68 65 20 | 63 6f 64 65 20 69 73 20 |s}..The |code is |
|00005160| 64 69 76 69 64 65 64 20 | 69 6e 74 6f 20 66 69 76 |divided |into fiv|
|00005170| 65 20 6d 61 69 6e 20 66 | 69 6c 65 73 20 28 69 6e |e main f|iles (in|
|00005180| 74 72 6f 64 75 63 65 64 | 20 68 65 72 65 29 20 61 |troduced| here) a|
|00005190| 6e 64 20 66 69 76 65 0a | 73 75 70 70 6f 72 74 20 |nd five.|support |
|000051a0| 66 69 6c 65 73 20 28 69 | 6e 74 72 6f 64 75 63 65 |files (i|ntroduce|
|000051b0| 64 20 69 6e 20 74 68 65 | 20 6e 65 78 74 20 73 65 |d in the| next se|
|000051c0| 63 74 69 6f 6e 29 2e 0a | 54 68 65 20 66 69 6c 65 |ction)..|The file|
|000051d0| 20 5c 76 65 72 62 7c 6d | 61 69 6e 2e 63 7c 20 77 | \verb|m|ain.c| w|
|000051e0| 69 6c 6c 20 63 6f 6e 74 | 61 69 6e 20 74 68 65 20 |ill cont|ain the |
|000051f0| 64 72 69 76 65 72 20 66 | 6f 72 20 74 68 65 20 77 |driver f|or the w|
|00005200| 68 6f 6c 65 20 70 72 6f | 67 72 61 6d 0a 28 73 65 |hole pro|gram.(se|
|00005210| 65 20 53 65 63 74 69 6f | 6e 7e 5c 72 65 66 7b 6d |e Sectio|n~\ref{m|
|00005220| 61 69 6e 2d 72 6f 75 74 | 69 6e 65 7d 29 2e 0a 40 |ain-rout|ine})..@|
|00005230| 6f 20 6d 61 69 6e 2e 63 | 0a 40 7b 23 69 6e 63 6c |o main.c|.@{#incl|
|00005240| 75 64 65 20 22 67 6c 6f | 62 61 6c 2e 68 22 0a 40 |ude "glo|bal.h".@|
|00005250| 7d 0a 0a 54 68 65 20 66 | 69 72 73 74 20 70 61 73 |}..The f|irst pas|
|00005260| 73 20 6f 76 65 72 20 74 | 68 65 20 73 6f 75 72 63 |s over t|he sourc|
|00005270| 65 20 66 69 6c 65 20 69 | 73 20 63 6f 6e 74 61 69 |e file i|s contai|
|00005280| 6e 65 64 20 69 6e 20 5c | 76 65 72 62 7c 70 61 73 |ned in \|verb|pas|
|00005290| 73 31 2e 63 7c 2e 0a 49 | 74 20 68 61 6e 64 6c 65 |s1.c|..I|t handle|
|000052a0| 73 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 6f 66 20 |s collec|tion of |
|000052b0| 61 6c 6c 20 74 68 65 20 | 66 69 6c 65 20 6e 61 6d |all the |file nam|
|000052c0| 65 73 2c 20 6d 61 63 72 | 6f 20 6e 61 6d 65 73 2c |es, macr|o names,|
|000052d0| 20 61 6e 64 20 73 63 72 | 61 70 73 0a 28 73 65 65 | and scr|aps.(see|
|000052e0| 20 53 65 63 74 69 6f 6e | 7e 5c 72 65 66 7b 70 61 | Section|~\ref{pa|
|000052f0| 73 73 2d 6f 6e 65 7d 29 | 2e 0a 40 6f 20 70 61 73 |ss-one})|..@o pas|
|00005300| 73 31 2e 63 0a 40 7b 23 | 69 6e 63 6c 75 64 65 20 |s1.c.@{#|include |
|00005310| 22 67 6c 6f 62 61 6c 2e | 68 22 0a 40 7d 0a 0a 54 |"global.|h".@}..T|
|00005320| 68 65 20 5c 76 65 72 62 | 7c 2e 74 65 78 7c 20 66 |he \verb||.tex| f|
|00005330| 69 6c 65 20 69 73 20 63 | 72 65 61 74 65 64 20 64 |ile is c|reated d|
|00005340| 75 72 69 6e 67 20 61 20 | 73 65 63 6f 6e 64 20 70 |uring a |second p|
|00005350| 61 73 73 20 6f 76 65 72 | 20 74 68 65 20 73 6f 75 |ass over| the sou|
|00005360| 72 63 65 0a 66 69 6c 65 | 2e 20 54 68 65 20 66 69 |rce.file|. The fi|
|00005370| 6c 65 20 5c 76 65 72 62 | 7c 6c 61 74 65 78 2e 63 |le \verb||latex.c|
|00005380| 7c 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 63 || contai|ns the c|
|00005390| 6f 64 65 20 63 6f 6e 74 | 72 6f 6c 6c 69 6e 67 20 |ode cont|rolling |
|000053a0| 74 68 65 0a 63 6f 6e 73 | 74 72 75 63 74 69 6f 6e |the.cons|truction|
|000053b0| 20 6f 66 20 74 68 65 20 | 5c 76 65 72 62 7c 2e 74 | of the |\verb|.t|
|000053c0| 65 78 7c 20 66 69 6c 65 | 0a 28 73 65 65 20 53 65 |ex| file|.(see Se|
|000053d0| 63 74 69 6f 6e 7e 5c 72 | 65 66 7b 6c 61 74 65 78 |ction~\r|ef{latex|
|000053e0| 2d 66 69 6c 65 7d 29 2e | 0a 40 6f 20 6c 61 74 65 |-file}).|.@o late|
|000053f0| 78 2e 63 0a 40 7b 23 69 | 6e 63 6c 75 64 65 20 22 |x.c.@{#i|nclude "|
|00005400| 67 6c 6f 62 61 6c 2e 68 | 22 0a 40 7d 0a 0a 54 68 |global.h|".@}..Th|
|00005410| 65 20 66 69 6c 65 20 5c | 76 65 72 62 7c 68 74 6d |e file \|verb|htm|
|00005420| 6c 2e 63 7c 20 63 6f 6e | 74 61 69 6e 73 20 74 68 |l.c| con|tains th|
|00005430| 65 20 63 6f 64 65 20 63 | 6f 6e 74 72 6f 6c 6c 69 |e code c|ontrolli|
|00005440| 6e 67 20 74 68 65 0a 63 | 6f 6e 73 74 72 75 63 74 |ng the.c|onstruct|
|00005450| 69 6f 6e 20 6f 66 20 74 | 68 65 20 5c 76 65 72 62 |ion of t|he \verb|
|00005460| 7c 2e 74 65 78 7c 20 66 | 69 6c 65 20 61 70 70 72 ||.tex| f|ile appr|
|00005470| 6f 70 72 69 61 74 65 20 | 66 6f 72 20 75 73 65 20 |opriate |for use |
|00005480| 77 69 74 68 20 7b 5c 4c | 61 54 65 58 7d 32 48 54 |with {\L|aTeX}2HT|
|00005490| 4d 4c 0a 28 73 65 65 20 | 53 65 63 74 69 6f 6e 7e |ML.(see |Section~|
|000054a0| 5c 72 65 66 7b 68 74 6d | 6c 2d 66 69 6c 65 7d 29 |\ref{htm|l-file})|
|000054b0| 2e 0a 40 6f 20 68 74 6d | 6c 2e 63 0a 40 7b 23 69 |..@o htm|l.c.@{#i|
|000054c0| 6e 63 6c 75 64 65 20 22 | 67 6c 6f 62 61 6c 2e 68 |nclude "|global.h|
|000054d0| 22 0a 40 7d 0a 0a 54 68 | 65 20 63 6f 64 65 20 63 |".@}..Th|e code c|
|000054e0| 6f 6e 74 72 6f 6c 6c 69 | 6e 67 20 74 68 65 20 63 |ontrolli|ng the c|
|000054f0| 72 65 61 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 6f |reation |of the o|
|00005500| 75 74 70 75 74 20 66 69 | 6c 65 73 20 69 73 20 69 |utput fi|les is i|
|00005510| 6e 20 5c 76 65 72 62 7c | 6f 75 74 70 75 74 2e 63 |n \verb||output.c|
|00005520| 7c 0a 28 73 65 65 20 53 | 65 63 74 69 6f 6e 7e 5c ||.(see S|ection~\|
|00005530| 72 65 66 7b 6f 75 74 70 | 75 74 2d 66 69 6c 65 73 |ref{outp|ut-files|
|00005540| 7d 29 2e 0a 40 6f 20 6f | 75 74 70 75 74 2e 63 0a |})..@o o|utput.c.|
|00005550| 40 7b 23 69 6e 63 6c 75 | 64 65 20 22 67 6c 6f 62 |@{#inclu|de "glob|
|00005560| 61 6c 2e 68 22 0a 40 7d | 0a 0a 5c 6e 65 77 70 61 |al.h".@}|..\newpa|
|00005570| 67 65 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 53 |ge.\subs|ection{S|
|00005580| 75 70 70 6f 72 74 20 46 | 69 6c 65 73 7d 0a 0a 54 |upport F|iles}..T|
|00005590| 68 65 20 73 75 70 70 6f | 72 74 20 66 69 6c 65 73 |he suppo|rt files|
|000055a0| 20 63 6f 6e 74 61 69 6e | 20 61 20 76 61 72 69 65 | contain| a varie|
|000055b0| 74 79 20 6f 66 20 73 75 | 70 70 6f 72 74 20 72 6f |ty of su|pport ro|
|000055c0| 75 74 69 6e 65 73 20 75 | 73 65 64 20 74 6f 20 64 |utines u|sed to d|
|000055d0| 65 66 69 6e 65 0a 61 6e | 64 20 6d 61 6e 69 70 75 |efine.an|d manipu|
|000055e0| 6c 61 74 65 20 74 68 65 | 20 6d 61 6a 6f 72 20 64 |late the| major d|
|000055f0| 61 74 61 20 61 62 73 74 | 72 61 63 74 69 6f 6e 73 |ata abst|ractions|
|00005600| 2e 0a 54 68 65 20 66 69 | 6c 65 20 5c 76 65 72 62 |..The fi|le \verb|
|00005610| 7c 69 6e 70 75 74 2e 63 | 7c 20 68 6f 6c 64 73 20 ||input.c|| holds |
|00005620| 61 6c 6c 20 74 68 65 20 | 72 6f 75 74 69 6e 65 73 |all the |routines|
|00005630| 20 75 73 65 64 20 66 6f | 72 20 72 65 66 65 72 72 | used fo|r referr|
|00005640| 69 6e 67 20 74 6f 0a 73 | 6f 75 72 63 65 20 66 69 |ing to.s|ource fi|
|00005650| 6c 65 73 20 28 73 65 65 | 20 53 65 63 74 69 6f 6e |les (see| Section|
|00005660| 7e 5c 72 65 66 7b 73 6f | 75 72 63 65 2d 66 69 6c |~\ref{so|urce-fil|
|00005670| 65 73 7d 29 2e 0a 40 6f | 20 69 6e 70 75 74 2e 63 |es})..@o| input.c|
|00005680| 0a 40 7b 23 69 6e 63 6c | 75 64 65 20 22 67 6c 6f |.@{#incl|ude "glo|
|00005690| 62 61 6c 2e 68 22 0a 40 | 7d 0a 0a 43 72 65 61 74 |bal.h".@|}..Creat|
|000056a0| 69 6f 6e 20 61 6e 64 20 | 6c 6f 6f 6b 75 70 20 6f |ion and |lookup o|
|000056b0| 66 20 73 63 72 61 70 73 | 20 69 73 20 68 61 6e 64 |f scraps| is hand|
|000056c0| 6c 65 64 20 62 79 20 72 | 6f 75 74 69 6e 65 73 20 |led by r|outines |
|000056d0| 69 6e 20 5c 76 65 72 62 | 7c 73 63 72 61 70 73 2e |in \verb||scraps.|
|000056e0| 63 7c 0a 28 73 65 65 20 | 53 65 63 74 69 6f 6e 7e |c|.(see |Section~|
|000056f0| 5c 72 65 66 7b 73 63 72 | 61 70 73 7d 29 2e 0a 40 |\ref{scr|aps})..@|
|00005700| 6f 20 73 63 72 61 70 73 | 2e 63 0a 40 7b 23 69 6e |o scraps|.c.@{#in|
|00005710| 63 6c 75 64 65 20 22 67 | 6c 6f 62 61 6c 2e 68 22 |clude "g|lobal.h"|
|00005720| 0a 40 7d 0a 0a 0a 54 68 | 65 20 68 61 6e 64 6c 69 |.@}...Th|e handli|
|00005730| 6e 67 20 6f 66 20 66 69 | 6c 65 20 6e 61 6d 65 73 |ng of fi|le names|
|00005740| 20 61 6e 64 20 6d 61 63 | 72 6f 20 6e 61 6d 65 73 | and mac|ro names|
|00005750| 20 69 73 20 64 65 74 61 | 69 6c 65 64 20 69 6e 20 | is deta|iled in |
|00005760| 5c 76 65 72 62 7c 6e 61 | 6d 65 73 2e 63 7c 0a 28 |\verb|na|mes.c|.(|
|00005770| 73 65 65 20 53 65 63 74 | 69 6f 6e 7e 5c 72 65 66 |see Sect|ion~\ref|
|00005780| 7b 6e 61 6d 65 73 7d 29 | 2e 0a 40 6f 20 6e 61 6d |{names})|..@o nam|
|00005790| 65 73 2e 63 0a 40 7b 23 | 69 6e 63 6c 75 64 65 20 |es.c.@{#|include |
|000057a0| 22 67 6c 6f 62 61 6c 2e | 68 22 0a 40 7d 0a 0a 4d |"global.|h".@}..M|
|000057b0| 65 6d 6f 72 79 20 61 6c | 6c 6f 63 61 74 69 6f 6e |emory al|location|
|000057c0| 20 61 6e 64 20 64 65 61 | 6c 6c 6f 63 61 74 69 6f | and dea|llocatio|
|000057d0| 6e 20 69 73 20 68 61 6e | 64 6c 65 64 20 62 79 20 |n is han|dled by |
|000057e0| 72 6f 75 74 69 6e 65 73 | 20 69 6e 20 5c 76 65 72 |routines| in \ver|
|000057f0| 62 7c 61 72 65 6e 61 2e | 63 7c 0a 28 73 65 65 20 |b|arena.|c|.(see |
|00005800| 53 65 63 74 69 6f 6e 7e | 5c 72 65 66 7b 6d 65 6d |Section~|\ref{mem|
|00005810| 6f 72 79 2d 6d 61 6e 61 | 67 65 6d 65 6e 74 7d 29 |ory-mana|gement})|
|00005820| 2e 0a 40 6f 20 61 72 65 | 6e 61 2e 63 0a 40 7b 23 |..@o are|na.c.@{#|
|00005830| 69 6e 63 6c 75 64 65 20 | 22 67 6c 6f 62 61 6c 2e |include |"global.|
|00005840| 68 22 0a 40 7d 0a 0a 46 | 69 6e 61 6c 6c 79 2c 20 |h".@}..F|inally, |
|00005850| 66 6f 72 20 62 65 73 74 | 20 70 6f 72 74 61 62 69 |for best| portabi|
|00005860| 6c 69 74 79 2c 20 49 20 | 73 65 65 6d 20 74 6f 20 |lity, I |seem to |
|00005870| 6e 65 65 64 20 61 20 66 | 69 6c 65 20 63 6f 6e 74 |need a f|ile cont|
|00005880| 61 69 6e 69 6e 67 0a 28 | 75 73 65 6c 65 73 73 21 |aining.(|useless!|
|00005890| 29 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 20 6f 66 |) defini|tions of|
|000058a0| 20 61 6c 6c 20 74 68 65 | 20 67 6c 6f 62 61 6c 20 | all the| global |
|000058b0| 76 61 72 69 61 62 6c 65 | 73 2e 0a 0a 53 79 73 74 |variable|s...Syst|
|000058c0| 65 6d 20 64 65 70 65 6e | 64 65 6e 74 20 70 61 72 |em depen|dent par|
|000058d0| 74 73 20 63 61 6e 20 62 | 65 20 69 6e 74 72 6f 64 |ts can b|e introd|
|000058e0| 75 63 65 64 20 68 65 72 | 65 20 61 73 20 77 65 6c |uced her|e as wel|
|000058f0| 6c 2c 20 65 2e 67 2e 2c | 20 6f 6e 20 74 68 65 20 |l, e.g.,| on the |
|00005900| 41 6d 69 67 61 0a 77 65 | 20 69 6e 74 72 6f 64 75 |Amiga.we| introdu|
|00005910| 63 65 20 74 68 65 20 63 | 61 70 61 62 69 6c 69 74 |ce the c|apabilit|
|00005920| 79 20 6f 66 20 6d 75 6c | 74 69 6c 69 6e 67 75 61 |y of mul|tilingua|
|00005930| 6c 69 74 79 20 69 6e 20 | 62 6f 74 68 20 74 68 65 |lity in |both the|
|00005940| 20 74 65 72 6d 69 6e 61 | 6c 20 6f 75 74 70 75 74 | termina|l output|
|00005950| 0a 61 6e 64 20 74 68 65 | 20 5c 4c 61 54 65 58 5c |.and the| \LaTeX\|
|00005960| 20 6f 75 74 70 75 74 2e | 20 20 54 6f 20 61 63 74 | output.| To act|
|00005970| 69 76 61 74 65 20 74 68 | 65 20 6e 65 63 65 73 73 |ivate th|e necess|
|00005980| 61 72 79 20 76 61 72 69 | 61 62 6c 65 73 20 61 6e |ary vari|ables an|
|00005990| 64 20 61 72 72 61 79 73 | 2c 0a 74 68 65 20 76 61 |d arrays|,.the va|
|000059a0| 6c 75 65 20 5c 76 65 72 | 62 7c 53 54 52 49 4e 47 |lue \ver|b|STRING|
|000059b0| 41 52 52 41 59 7c 20 6d | 75 73 74 20 62 65 20 73 |ARRAY| m|ust be s|
|000059c0| 65 74 2e 0a 0a 40 6f 20 | 67 6c 6f 62 61 6c 2e 63 |et...@o |global.c|
|000059d0| 0a 40 7b 23 69 66 64 65 | 66 20 5f 41 4d 49 47 41 |.@{#ifde|f _AMIGA|
|000059e0| 0a 23 64 65 66 69 6e 65 | 20 53 54 52 49 4e 47 41 |.#define| STRINGA|
|000059f0| 52 52 41 59 20 31 0a 23 | 65 6e 64 69 66 0a 23 69 |RRAY 1.#|endif.#i|
|00005a00| 6e 63 6c 75 64 65 20 22 | 67 6c 6f 62 61 6c 2e 68 |nclude "|global.h|
|00005a10| 22 0a 40 3c 47 6c 6f 62 | 61 6c 20 76 61 72 69 61 |".@<Glob|al varia|
|00005a20| 62 6c 65 20 64 65 66 69 | 6e 69 74 69 6f 6e 73 40 |ble defi|nitions@|
|00005a30| 3e 0a 40 7d 0a 0a 5c 73 | 65 63 74 69 6f 6e 7b 54 |>.@}..\s|ection{T|
|00005a40| 68 65 20 4d 61 69 6e 20 | 52 6f 75 74 69 6e 65 7d |he Main |Routine}|
|00005a50| 20 5c 6c 61 62 65 6c 7b | 6d 61 69 6e 2d 72 6f 75 | \label{|main-rou|
|00005a60| 74 69 6e 65 7d 0a 0a 54 | 68 65 20 6d 61 69 6e 20 |tine}..T|he main |
|00005a70| 72 6f 75 74 69 6e 65 20 | 69 73 20 71 75 69 74 65 |routine |is quite|
|00005a80| 20 73 69 6d 70 6c 65 20 | 69 6e 20 73 74 72 75 63 | simple |in struc|
|00005a90| 74 75 72 65 2e 0a 49 74 | 20 77 61 64 65 73 20 74 |ture..It| wades t|
|00005aa0| 68 72 6f 75 67 68 20 74 | 68 65 20 6f 70 74 69 6f |hrough t|he optio|
|00005ab0| 6e 61 6c 20 63 6f 6d 6d | 61 6e 64 2d 6c 69 6e 65 |nal comm|and-line|
|00005ac0| 20 61 72 67 75 6d 65 6e | 74 73 2c 0a 74 68 65 6e | argumen|ts,.then|
|00005ad0| 20 68 61 6e 64 6c 65 73 | 20 61 6e 79 20 66 69 6c | handles| any fil|
|00005ae0| 65 73 20 6c 69 73 74 65 | 64 20 6f 6e 20 74 68 65 |es liste|d on the|
|00005af0| 20 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 2e 0a 40 | command| line..@|
|00005b00| 6f 20 6d 61 69 6e 2e 63 | 0a 40 7b 76 6f 69 64 20 |o main.c|.@{void |
|00005b10| 6d 61 69 6e 28 69 6e 74 | 20 61 72 67 63 2c 20 63 |main(int| argc, c|
|00005b20| 68 61 72 20 2a 2a 61 72 | 67 76 29 0a 7b 0a 20 20 |har **ar|gv).{. |
|00005b30| 69 6e 74 20 61 72 67 20 | 3d 20 31 3b 0a 20 20 40 |int arg |= 1;. @|
|00005b40| 3c 55 73 65 20 63 61 74 | 61 6c 6f 67 20 74 72 61 |<Use cat|alog tra|
|00005b50| 6e 73 6c 61 74 69 6f 6e | 73 40 3e 0a 20 20 40 3c |nslation|s@>. @<|
|00005b60| 49 6e 74 65 72 70 72 65 | 74 20 63 6f 6d 6d 61 6e |Interpre|t comman|
|00005b70| 64 2d 6c 69 6e 65 20 61 | 72 67 75 6d 65 6e 74 73 |d-line a|rguments|
|00005b80| 40 3e 0a 20 20 40 3c 50 | 72 6f 63 65 73 73 20 74 |@>. @<P|rocess t|
|00005b90| 68 65 20 72 65 6d 61 69 | 6e 69 6e 67 20 61 72 67 |he remai|ning arg|
|00005ba0| 75 6d 65 6e 74 73 20 28 | 66 69 6c 65 20 6e 61 6d |uments (|file nam|
|00005bb0| 65 73 29 40 3e 0a 20 20 | 65 78 69 74 28 45 58 49 |es)@>. |exit(EXI|
|00005bc0| 54 5f 53 55 43 43 45 53 | 53 29 3b 0a 7d 20 40 7c |T_SUCCES|S);.} @||
|00005bd0| 20 6d 61 69 6e 20 45 58 | 49 54 5f 53 55 43 43 45 | main EX|IT_SUCCE|
|00005be0| 53 53 20 40 7d 0a 0a 0a | 5c 73 75 62 73 65 63 74 |SS @}...|\subsect|
|00005bf0| 69 6f 6e 7b 43 6f 6d 6d | 61 6e 64 2d 4c 69 6e 65 |ion{Comm|and-Line|
|00005c00| 20 41 72 67 75 6d 65 6e | 74 73 7d 0a 0a 54 68 65 | Argumen|ts}..The|
|00005c10| 72 65 20 61 72 65 20 66 | 69 76 65 20 70 6f 73 73 |re are f|ive poss|
|00005c20| 69 62 6c 65 20 63 6f 6d | 6d 61 6e 64 2d 6c 69 6e |ible com|mand-lin|
|00005c30| 65 20 61 72 67 75 6d 65 | 6e 74 73 3a 0a 5c 62 65 |e argume|nts:.\be|
|00005c40| 67 69 6e 7b 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |gin{desc|ription}|
|00005c50| 0a 5c 69 74 65 6d 5b 5c | 74 74 20 2d 74 5d 20 53 |.\item[\|tt -t] S|
|00005c60| 75 70 70 72 65 73 73 65 | 73 20 67 65 6e 65 72 61 |uppresse|s genera|
|00005c70| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 7b 5c 74 74 |tion of |the {\tt|
|00005c80| 20 2e 74 65 78 7d 20 66 | 69 6c 65 2e 0a 5c 69 74 | .tex} f|ile..\it|
|00005c90| 65 6d 5b 5c 74 74 20 2d | 6f 5d 20 53 75 70 70 72 |em[\tt -|o] Suppr|
|00005ca0| 65 73 73 65 73 20 67 65 | 6e 65 72 61 74 69 6f 6e |esses ge|neration|
|00005cb0| 20 6f 66 20 74 68 65 20 | 6f 75 74 70 75 74 20 66 | of the |output f|
|00005cc0| 69 6c 65 73 2e 0a 5c 69 | 74 65 6d 5b 5c 74 74 20 |iles..\i|tem[\tt |
|00005cd0| 2d 63 5d 20 46 6f 72 63 | 65 73 20 6f 75 74 70 75 |-c] Forc|es outpu|
|00005ce0| 74 20 66 69 6c 65 73 20 | 74 6f 20 6f 76 65 72 77 |t files |to overw|
|00005cf0| 72 69 74 65 20 6f 6c 64 | 20 66 69 6c 65 73 20 6f |rite old| files o|
|00005d00| 66 20 74 68 65 20 73 61 | 6d 65 0a 20 20 6e 61 6d |f the sa|me. nam|
|00005d10| 65 20 77 69 74 68 6f 75 | 74 20 63 6f 6d 70 61 72 |e withou|t compar|
|00005d20| 69 6e 67 20 66 6f 72 20 | 65 71 75 61 6c 69 74 79 |ing for |equality|
|00005d30| 20 66 69 72 73 74 2e 0a | 5c 69 74 65 6d 5b 5c 74 | first..|\item[\t|
|00005d40| 74 20 2d 76 5d 20 54 68 | 65 20 76 65 72 62 6f 73 |t -v] Th|e verbos|
|00005d50| 65 20 66 6c 61 67 2e 20 | 46 6f 72 63 65 73 20 6f |e flag. |Forces o|
|00005d60| 75 74 70 75 74 20 6f 66 | 20 70 72 6f 67 72 65 73 |utput of| progres|
|00005d70| 73 20 72 65 70 6f 72 74 | 73 2e 0a 5c 69 74 65 6d |s report|s..\item|
|00005d80| 5b 5c 74 74 20 2d 6e 5d | 20 46 6f 72 63 65 73 20 |[\tt -n]| Forces |
|00005d90| 73 65 71 75 65 6e 74 69 | 61 6c 20 6e 75 6d 62 65 |sequenti|al numbe|
|00005da0| 72 69 6e 67 20 6f 66 20 | 73 63 72 61 70 73 20 28 |ring of |scraps (|
|00005db0| 69 6e 73 74 65 61 64 20 | 6f 66 20 70 61 67 65 0a |instead |of page.|
|00005dc0| 20 20 6e 75 6d 62 65 72 | 73 29 2e 0a 5c 65 6e 64 | number|s)..\end|
|00005dd0| 7b 64 65 73 63 72 69 70 | 74 69 6f 6e 7d 0a 0a 5c |{descrip|tion}..\|
|00005de0| 6e 6f 69 6e 64 65 6e 74 | 0a 47 6c 6f 62 61 6c 20 |noindent|.Global |
|00005df0| 66 6c 61 67 73 20 61 72 | 65 20 64 65 63 6c 61 72 |flags ar|e declar|
|00005e00| 65 64 20 66 6f 72 20 65 | 61 63 68 20 6f 66 20 74 |ed for e|ach of t|
|00005e10| 68 65 20 61 72 67 75 6d | 65 6e 74 73 2e 0a 40 64 |he argum|ents..@d|
|00005e20| 20 47 6c 6f 62 61 6c 20 | 76 61 72 69 61 62 6c 65 | Global |variable|
|00005e30| 20 64 65 63 2e 2e 2e 0a | 40 7b 65 78 74 65 72 6e | dec....|@{extern|
|00005e40| 20 69 6e 74 20 74 65 78 | 5f 66 6c 61 67 3b 20 20 | int tex|_flag; |
|00005e50| 20 20 20 20 2f 2a 20 69 | 66 20 46 41 4c 53 45 2c | /* i|f FALSE,|
|00005e60| 20 64 6f 6e 27 74 20 65 | 6d 69 74 20 74 68 65 20 | don't e|mit the |
|00005e70| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 66 69 |document|ation fi|
|00005e80| 6c 65 20 2a 2f 0a 65 78 | 74 65 72 6e 20 69 6e 74 |le */.ex|tern int|
|00005e90| 20 68 74 6d 6c 5f 66 6c | 61 67 3b 20 20 20 20 20 | html_fl|ag; |
|00005ea0| 2f 2a 20 69 66 20 54 52 | 55 45 2c 20 65 6d 69 74 |/* if TR|UE, emit|
|00005eb0| 20 48 54 4d 4c 20 69 6e | 73 74 65 61 64 20 6f 66 | HTML in|stead of|
|00005ec0| 20 4c 61 54 65 58 20 73 | 63 72 61 70 73 2e 20 2a | LaTeX s|craps. *|
|00005ed0| 2f 0a 65 78 74 65 72 6e | 20 69 6e 74 20 6f 75 74 |/.extern| int out|
|00005ee0| 70 75 74 5f 66 6c 61 67 | 3b 20 20 20 2f 2a 20 69 |put_flag|; /* i|
|00005ef0| 66 20 46 41 4c 53 45 2c | 20 64 6f 6e 27 74 20 65 |f FALSE,| don't e|
|00005f00| 6d 69 74 20 74 68 65 20 | 6f 75 74 70 75 74 20 66 |mit the |output f|
|00005f10| 69 6c 65 73 20 2a 2f 0a | 65 78 74 65 72 6e 20 69 |iles */.|extern i|
|00005f20| 6e 74 20 63 6f 6d 70 61 | 72 65 5f 66 6c 61 67 3b |nt compa|re_flag;|
|00005f30| 20 20 2f 2a 20 69 66 20 | 46 41 4c 53 45 2c 20 6f | /* if |FALSE, o|
|00005f40| 76 65 72 77 72 69 74 65 | 20 77 69 74 68 6f 75 74 |verwrite| without|
|00005f50| 20 63 6f 6d 70 61 72 69 | 73 6f 6e 20 2a 2f 0a 65 | compari|son */.e|
|00005f60| 78 74 65 72 6e 20 69 6e | 74 20 76 65 72 62 6f 73 |xtern in|t verbos|
|00005f70| 65 5f 66 6c 61 67 3b 20 | 20 2f 2a 20 69 66 20 54 |e_flag; | /* if T|
|00005f80| 52 55 45 2c 20 77 72 69 | 74 65 20 70 72 6f 67 72 |RUE, wri|te progr|
|00005f90| 65 73 73 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ess info|rmation |
|00005fa0| 2a 2f 0a 65 78 74 65 72 | 6e 20 69 6e 74 20 6e 75 |*/.exter|n int nu|
|00005fb0| 6d 62 65 72 5f 66 6c 61 | 67 3b 20 20 20 2f 2a 20 |mber_fla|g; /* |
|00005fc0| 69 66 20 54 52 55 45 2c | 20 75 73 65 20 61 20 73 |if TRUE,| use a s|
|00005fd0| 65 71 75 65 6e 74 69 61 | 6c 20 6e 75 6d 62 65 72 |equentia|l number|
|00005fe0| 69 6e 67 20 73 63 68 65 | 6d 65 20 2a 2f 0a 40 7c |ing sche|me */.@||
|00005ff0| 20 74 65 78 5f 66 6c 61 | 67 20 68 74 6d 6c 5f 66 | tex_fla|g html_f|
|00006000| 6c 61 67 20 6f 75 74 70 | 75 74 5f 66 6c 61 67 20 |lag outp|ut_flag |
|00006010| 63 6f 6d 70 61 72 65 5f | 66 6c 61 67 20 76 65 72 |compare_|flag ver|
|00006020| 62 6f 73 65 5f 66 6c 61 | 67 20 6e 75 6d 62 65 72 |bose_fla|g number|
|00006030| 5f 66 6c 61 67 20 40 7d | 0a 0a 54 68 65 20 66 6c |_flag @}|..The fl|
|00006040| 61 67 73 20 61 72 65 20 | 61 6c 6c 20 69 6e 69 74 |ags are |all init|
|00006050| 69 61 6c 69 7a 65 64 20 | 66 6f 72 20 63 6f 72 72 |ialized |for corr|
|00006060| 65 63 74 20 64 65 66 61 | 75 6c 74 20 62 65 68 61 |ect defa|ult beha|
|00006070| 76 69 6f 72 2e 0a 0a 40 | 64 20 47 6c 6f 62 61 6c |vior...@|d Global|
|00006080| 20 76 61 72 69 61 62 6c | 65 20 64 65 66 2e 2e 2e | variabl|e def...|
|00006090| 0a 40 7b 69 6e 74 20 74 | 65 78 5f 66 6c 61 67 20 |.@{int t|ex_flag |
|000060a0| 3d 20 54 52 55 45 3b 0a | 69 6e 74 20 68 74 6d 6c |= TRUE;.|int html|
|000060b0| 5f 66 6c 61 67 20 3d 20 | 46 41 4c 53 45 3b 0a 69 |_flag = |FALSE;.i|
|000060c0| 6e 74 20 6f 75 74 70 75 | 74 5f 66 6c 61 67 20 3d |nt outpu|t_flag =|
|000060d0| 20 54 52 55 45 3b 0a 69 | 6e 74 20 63 6f 6d 70 61 | TRUE;.i|nt compa|
|000060e0| 72 65 5f 66 6c 61 67 20 | 3d 20 54 52 55 45 3b 0a |re_flag |= TRUE;.|
|000060f0| 69 6e 74 20 76 65 72 62 | 6f 73 65 5f 66 6c 61 67 |int verb|ose_flag|
|00006100| 20 3d 20 46 41 4c 53 45 | 3b 0a 69 6e 74 20 6e 75 | = FALSE|;.int nu|
|00006110| 6d 62 65 72 5f 66 6c 61 | 67 20 3d 20 46 41 4c 53 |mber_fla|g = FALS|
|00006120| 45 3b 0a 40 7d 0a 0a 0a | 57 65 20 73 61 76 65 20 |E;.@}...|We save |
|00006130| 74 68 65 20 69 6e 76 6f | 63 61 74 69 6f 6e 20 6e |the invo|cation n|
|00006140| 61 6d 65 20 6f 66 20 74 | 68 65 20 63 6f 6d 6d 61 |ame of t|he comma|
|00006150| 6e 64 20 69 6e 20 61 20 | 67 6c 6f 62 61 6c 20 76 |nd in a |global v|
|00006160| 61 72 69 61 62 6c 65 0a | 5c 76 65 72 62 7c 63 6f |ariable.|\verb|co|
|00006170| 6d 6d 61 6e 64 5f 6e 61 | 6d 65 7c 20 66 6f 72 20 |mmand_na|me| for |
|00006180| 75 73 65 20 69 6e 20 65 | 72 72 6f 72 20 6d 65 73 |use in e|rror mes|
|00006190| 73 61 67 65 73 2e 0a 40 | 64 20 47 6c 6f 62 61 6c |sages..@|d Global|
|000061a0| 20 76 61 72 69 61 62 6c | 65 20 64 65 63 2e 2e 2e | variabl|e dec...|
|000061b0| 0a 40 7b 65 78 74 65 72 | 6e 20 63 68 61 72 20 2a |.@{exter|n char *|
|000061c0| 63 6f 6d 6d 61 6e 64 5f | 6e 61 6d 65 3b 0a 40 7c |command_|name;.@||
|000061d0| 20 63 6f 6d 6d 61 6e 64 | 5f 6e 61 6d 65 20 40 7d | command|_name @}|
|000061e0| 0a 0a 40 64 20 47 6c 6f | 62 61 6c 20 76 61 72 69 |..@d Glo|bal vari|
|000061f0| 61 62 6c 65 20 64 65 66 | 2e 2e 2e 0a 40 7b 63 68 |able def|....@{ch|
|00006200| 61 72 20 2a 63 6f 6d 6d | 61 6e 64 5f 6e 61 6d 65 |ar *comm|and_name|
|00006210| 20 3d 20 4e 55 4c 4c 3b | 0a 40 7d 0a 0a 54 68 65 | = NULL;|.@}..The|
|00006220| 20 69 6e 76 6f 63 61 74 | 69 6f 6e 20 6e 61 6d 65 | invocat|ion name|
|00006230| 20 69 73 20 63 6f 6e 76 | 65 6e 74 69 6f 6e 61 6c | is conv|entional|
|00006240| 6c 79 20 70 61 73 73 65 | 64 20 69 6e 20 5c 76 65 |ly passe|d in \ve|
|00006250| 72 62 7c 61 72 67 76 5b | 30 5d 7c 2e 0a 40 64 20 |rb|argv[|0]|..@d |
|00006260| 49 6e 74 65 72 70 72 65 | 74 20 63 6f 6d 2e 2e 2e |Interpre|t com...|
|00006270| 0a 40 7b 63 6f 6d 6d 61 | 6e 64 5f 6e 61 6d 65 20 |.@{comma|nd_name |
|00006280| 3d 20 61 72 67 76 5b 30 | 5d 3b 0a 40 7d 0a 0a 57 |= argv[0|];.@}..W|
|00006290| 65 20 6e 65 65 64 20 74 | 6f 20 65 78 61 6d 69 6e |e need t|o examin|
|000062a0| 65 20 74 68 65 20 72 65 | 6d 61 69 6e 69 6e 67 20 |e the re|maining |
|000062b0| 65 6e 74 72 69 65 73 20 | 69 6e 20 5c 76 65 72 62 |entries |in \verb|
|000062c0| 7c 61 72 67 76 7c 2c 20 | 6c 6f 6f 6b 69 6e 67 20 ||argv|, |looking |
|000062d0| 66 6f 72 0a 63 6f 6d 6d | 61 6e 64 2d 6c 69 6e 65 |for.comm|and-line|
|000062e0| 20 61 72 67 75 6d 65 6e | 74 73 2e 0a 40 64 20 49 | argumen|ts..@d I|
|000062f0| 6e 74 65 72 70 72 65 74 | 20 63 6f 6d 2e 2e 2e 0a |nterpret| com....|
|00006300| 40 7b 77 68 69 6c 65 20 | 28 61 72 67 20 3c 20 61 |@{while |(arg < a|
|00006310| 72 67 63 29 20 7b 0a 20 | 20 63 68 61 72 20 2a 73 |rgc) {. | char *s|
|00006320| 20 3d 20 61 72 67 76 5b | 61 72 67 5d 3b 0a 20 20 | = argv[|arg];. |
|00006330| 69 66 20 28 2a 73 2b 2b | 20 3d 3d 20 27 2d 27 29 |if (*s++| == '-')|
|00006340| 20 7b 0a 20 20 20 20 40 | 3c 49 6e 74 65 72 70 72 | {. @|<Interpr|
|00006350| 65 74 20 74 68 65 20 61 | 72 67 75 6d 65 6e 74 20 |et the a|rgument |
|00006360| 73 74 72 69 6e 67 20 5c | 76 65 72 62 7c 73 7c 40 |string \|verb|s|@|
|00006370| 3e 0a 20 20 20 20 61 72 | 67 2b 2b 3b 0a 20 20 7d |>. ar|g++;. }|
|00006380| 0a 20 20 65 6c 73 65 20 | 62 72 65 61 6b 3b 0a 7d |. else |break;.}|
|00006390| 40 7d 0a 0a 0a 53 65 76 | 65 72 61 6c 20 66 6c 61 |@}...Sev|eral fla|
|000063a0| 67 73 20 63 61 6e 20 62 | 65 20 73 74 61 63 6b 65 |gs can b|e stacke|
|000063b0| 64 20 62 65 68 69 6e 64 | 20 61 20 73 69 6e 67 6c |d behind| a singl|
|000063c0| 65 20 6d 69 6e 75 73 20 | 73 69 67 6e 3b 20 74 68 |e minus |sign; th|
|000063d0| 65 72 65 66 6f 72 65 2c | 0a 77 65 27 76 65 20 67 |erefore,|.we've g|
|000063e0| 6f 74 20 74 6f 20 6c 6f | 6f 70 20 74 68 72 6f 75 |ot to lo|op throu|
|000063f0| 67 68 20 74 68 65 20 73 | 74 72 69 6e 67 2c 20 68 |gh the s|tring, h|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.